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

Improve the implementation of Double/Float.isInfinite

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • None
    • core-libs
    • b15

    Description

      Change the implementation of Double/Float.isInfinite to Math.abs(v) > MAX_VALUE which reduces branching in compiled code.

      Attachments

        Issue Links

          Activity

            People

              qamai Quan Anh Mai
              qamai Quan Anh Mai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: