setting fpu precision for jni

Andrew Haley aph@redhat.com
Wed Nov 30 19:36:00 GMT 2005


Tom Tromey writes:
 > Vektor found this bug:
 > 
 > https://bugs.freedesktop.org/show_bug.cgi?id=5200
 > 
 > In this case the problem works in our favor.
 > But I wonder if we ought to set the fpu this way for compatibility.

It's probably a bad idea.  I think there's an implicit contract with
any libraries we call that global system state will be sane; putting
the FPU into a shorter precision for pedantic Java compliance IMO
doesn't qualify as "sane".

Andrew.



More information about the Java mailing list