archives

« Bugzilla Issues Index

#2377 — incorrect statement about numbers


The discussion of numbers in the introduction of ECMA-404, 1st Edition /
October 2013 contains:

JSON instead offers only the representation of numbers that humans use: a
sequence of digits.

However, JSON does not only use sequences of digits to represent numbers, and
there are many JSON numbers that cannot be represented as a sequence of
base-ten digits.

Also, humans use many representations of numbers that are not sequences of
digits, including two, one and one-half, and three-quarters.

Finally, there are many numbers that humans interchange that are cannot be
represented as finite sequences of digits, even if you allow also a decimal
point and a negative sign, for example 1/7, pi, and the square root of two.

This statement should be changed.