[Bug 482] New: Zero fails openjdk/jdk/test/java/lang/Rint

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon May 3 02:40:10 PDT 2010


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=482

           Summary: Zero fails openjdk/jdk/test/java/lang/Rint
           Product: IcedTea
           Version: 6-hg
          Platform: all
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Zero
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: xerxes at zafena.se


Testcase:
cd openjdk/jdk/test/java/lang/Math
javac Rint.java
java Rint

xerxes at xerxes-J464X:~/icedtea6-1.8-shark-llvm2.7/openjdk/jdk/test/java/lang/Math$
java -zero -Xint Rint 
Failure for Math.rint:
        For input 0.5000000000000001    (0x1.0000000000001p-1)
        expected  1.0   (0x1.0p0)
        got       0.0   (0x0.0p0).
Failure for Math.rint:
        For input -0.5000000000000001   (-0x1.0000000000001p-1)
        expected  -1.0  (-0x1.0p0)
        got       -0.0  (-0x0.0p0).
Failure for StrictMath.rint:
        For input 0.5000000000000001    (0x1.0000000000001p-1)
        expected  1.0   (0x1.0p0)
        got       0.0   (0x0.0p0).
Failure for StrictMath.rint:
        For input -0.5000000000000001   (-0x1.0000000000001p-1)
        expected  -1.0  (-0x1.0p0)
        got       -0.0  (-0x0.0p0).
Failure for Math.rint:
        For input 1.4999999999999998    (0x1.7ffffffffffffp0)
        expected  1.0   (0x1.0p0)
        got       2.0   (0x1.0p1).
Failure for Math.rint:
        For input -1.4999999999999998   (-0x1.7ffffffffffffp0)
        expected  -1.0  (-0x1.0p0)
        got       -2.0  (-0x1.0p1).
Failure for StrictMath.rint:
        For input 1.4999999999999998    (0x1.7ffffffffffffp0)
        expected  1.0   (0x1.0p0)
        got       2.0   (0x1.0p1).
Failure for StrictMath.rint:
        For input -1.4999999999999998   (-0x1.7ffffffffffffp0)
        expected  -1.0  (-0x1.0p0)
        got       -2.0  (-0x1.0p1).
Failure for Math.rint:
        For input 300000.50000000006    (0x1.24f8200000001p18)
        expected  300001.0      (0x1.24f84p18)
        got       300000.0      (0x1.24f8p18).
Failure for Math.rint:
        For input -300000.50000000006   (-0x1.24f8200000001p18)
        expected  -300001.0     (-0x1.24f84p18)
        got       -300000.0     (-0x1.24f8p18).
Failure for StrictMath.rint:
        For input 300000.50000000006    (0x1.24f8200000001p18)
        expected  300001.0      (0x1.24f84p18)
        got       300000.0      (0x1.24f8p18).
Failure for StrictMath.rint:
        For input -300000.50000000006   (-0x1.24f8200000001p18)
        expected  -300001.0     (-0x1.24f84p18)
        got       -300000.0     (-0x1.24f8p18).
Testing {Math, StrictMath}.rint incurred 12 failures.
Exception in thread "main" java.lang.RuntimeException
        at Rint.main(Rint.java:118)


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list