This is the mail archive of the
mailing list for the GCC project.
Re: [JAVA] Implement more java.lang.Math builtins.
Fergus Henderson <firstname.lastname@example.org.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).