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

Method floatToIntBits in class Float returns wrong value when Input is Float.NaN

XMLWordPrintable

    • 1.0fcs
    • sparc
    • solaris_2.4
    • Not verified

      Specification shows that floatToIntBits(float f) should return 0x7fc00000 instead return 0x7fffffff.

            egilbertsunw Eric Gilbertson (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: