Browse Source

* Fix range error on 32-bit

Michael Van Canneyt 5 months ago
parent
commit
4824e7f2dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/src/math.pas

+ 1 - 1
packages/rtl/src/math.pas

@@ -19,7 +19,7 @@ unit Math;
 interface
 
 const
-  MinInteger = -$fffffffffffff-1;
+  MinInteger = -$fffffffffffff+1;
   MaxInteger = $fffffffffffff;
   MinDouble  =  5.0e-324;
   MaxDouble  =  1.7e+308;