#174 format-number() bad output for large numbers

v7.8
closed
Michael Kay
5
2012-10-08
2003-12-01
Michael Kay
No

The format-number() function produces garbage output
for numbers greater than about 1e19.

Applies to Saxon 7.x releases since the new
format-number() implementation was released. Note that
the old Java-based implementation is still available as
format-number-1.0().

Test case added: numberformat60.

Source code fixed (to a degree). The output is now OK
in the first 18 or 19 places, it is still not as good
as the Java output beyond this point.

Discussion