[JAVA] Implement more java.lang.Math builtins.
Gabriel Dos Reis
gdr@integrable-solutions.net
Thu May 29 18:23:00 GMT 2003
Fergus Henderson <fjh@cs.mu.OZ.AU> writes:
[...]
| The C99 standard imposes almost no requirements about accuracy:
Yes and some peple find that silly.
| | The accuracy of ... the library functions in <math.h> and <complex.h>
| | that return floating-point results is implementation-
| | defined. The implementation may state that the accuracy is
| | unknown.
|
| The LIA-1 standard requires math functions to be accurate to within 1 ulp.
| But do all the systems that GCC targets support this LIA-1 requirement?
It is GCC's job to obey the LIa-1 requirements if GCC chooses to abide
to LIA-1 (which would be a good thing, IMO).
-- Gaby
More information about the Gcc-patches
mailing list