mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 21:46:00 +02:00
fcl-js: fixed MinMaxSafeIntDouble for significand bits instead of explicit bits
git-svn-id: trunk@41388 -
This commit is contained in:
parent
8569bd2bf6
commit
d6f5792f36
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user