This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug AWT/16825] Bad results for QuadCurve2D.solveQuadratic
- From: "sven at physto dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 9 Nov 2004 23:22:55 -0000
- Subject: [Bug AWT/16825] Bad results for QuadCurve2D.solveQuadratic
- References: <20040729211034.16825.mark@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From sven at physto dot se 2004-11-09 23:22 -------
This isn't a Awt or libgcj bug itself, but rather an effect of the extended-mode
of FPU being the default leading to inconsistent results with 64-bit doubles.
A suggestion for a 'fix' is to set the FPU to 64-bit double rounding for Java
programs, since Java does not have a 'long double' type. This would both
stricter and give more consistent results with other platforms.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16825