Loading ...
Sorry, an error occurred while loading the content.

1007big decimal in javascript

Expand Messages
  • kshitij_ksk
    May 5, 2008
    • 0 Attachment
      any idea if there is any support available for big decimal no.s in

      I have found the ECMA specification (ECMA-262) which mentions that it
      supports double-precision 64-bit format IEEE 754 values. Refer to
      4.3.20 section of Ecma-262.pdf attached.

      Searching further for IEEE 754 specs, it has been mentioned that the
      finite positive and finite negative numbers furthest from zero
      (represented by the value with 2046 in the Exp field and all 1s in the
      fraction field) are ±1.7976931348623157×10308
      (1.7976931348623157e+308). Refer to the 3.2.2 section of ieee754.pdf

      More References –

      http://www.irt.org/script/1031.htm (This link mentions that "As
      JavaScript uses floating-point numbers the accuracy is only assured
      for integers between: -9007199254740992 (-2^53) and 9007199254740992


    • Show all 2 messages in this topic