Search code examples
javascriptspecificationsecma

Do javascript numbers follow IEEE 754 double precision?


Is there any well-known implementation of Javascript that doesn't use double precision floating point numbers according to IEEE 754? Was it in the standard from the beginning or added later?


Solution

  • All ECMAScript standard versions, including the very first, specified the number type with the double-precision 64-bit format according to IEEE 754.