commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #6095] java.awt.geom.QuadCurve2D.solveQuadratic sometimes gives wro


From: nobody
Subject: [bug #6095] java.awt.geom.QuadCurve2D.solveQuadratic sometimes gives wrong result
Date: Tue, 21 Oct 2003 10:27:37 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030716

=================== BUG #6095: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6095&group_id=85

Submitted by: brawer                  Project: classpath                    
Submitted on: Tue 10/21/2003 at 14:27
Severity:  5 - Major                  Resolution:  None                     
Assigned to:  None                    Status:  Open                         
Platform Version:  None               

Summary:  java.awt.geom.QuadCurve2D.solveQuadratic sometimes gives wrong result

Original Submission:  The solveQuadratic method in java.awt.geom.QuadCurve2D 
gives the wrong result for the equation 4 * (x^2) = 0. This equation has 
exactly one solution, namely x = 0.



Both Sun J2SE 1.4.1_01 (GNU/Linux i386) and Apple JDK 1.3.1 (PowerPC G4) return 
the correct result. GNU Classpath however claims that the equation has two 
solutions.



A Mauve test case is attached, see checks 8 and 9.



No Followups Have Been Posted


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Tue 10/21/2003 at 14:27  Name: solveQuadratic.java  Size: 2KB   By: brawer
Mauve test case
http://savannah.gnu.org/bugs/download.php?group_id=85&bug_id=6095&bug_file_id=741


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6095&group_id=85

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]