This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [JAVA] Implement more java.lang.Math builtins.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]