fcl-js: fixed MinMaxSafeIntDouble for significand bits instead of explicit bits

git-svn-id: trunk@41388 -
This commit is contained in:
Mattias Gaertner 2019-02-20 02:22:12 +00:00
parent 8569bd2bf6
commit d6f5792f36

View File

@ -26,8 +26,8 @@ uses
Classes;
const
MinSafeIntDouble = -$fffffffffffff-1; // -4503599627370496
MaxSafeIntDouble = $fffffffffffff; // 4503599627370495
MinSafeIntDouble = -$1fffffffffffff; // -9007199254740991 53 bits (52 explicitly stored)
MaxSafeIntDouble = $1fffffffffffff; // 9007199254740991
Type
TJSType = (jstUNDEFINED,jstNull,jstBoolean,jstNumber,jstString,jstObject,jstReference,jstCompletion);