Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4433564

Math.sin( Double.POSITIVE_INFINITY ) = 0.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 1.4.0
    • core-libs
    • x86
    • windows_nt

      The bug appears on Win32 only, testcase is lang.Math.MathTest from Quicklook.
      Expected result of expression Math.sin( Double.POSITIVE_INFINITY ) is NaN,
      but in the testcase below the result is 0.0.

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b59)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b59, mixed mode)

      To reproduce link Y: to /net/alpheridies.eng/export
      and run
      java -hotspot -Xint -classpath Y:/VM/merlin/nightly/DTF-workspace/exec1/MBL-MAUVE-QUICKLOOK-int-WIN-hothvm-2001-03-28-PM-19-24-46-0579/work/maneesh.NT.x86/lang.Math.MathTest;Y:/VM/testbase/src/mauve gnu.testlet.SimpleTestHarness -debug gnu.testlet.java.lang.Math.MathTest

            darcy Joe Darcy
            dwallmansunw David Wallman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: