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

sun.awt.geom.Curve.next() and prev() wrap

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 8, 11, 17, 19
    • client-libs
    • None

    Description

      In sun/awt/geom/Curve.java the methods next() and prev()
      convert to long to find adjacent values of a double:
      Double.longBitsToDouble(Double.doubleToLongBits(v)-1);

      This could be improved using Math.nextDown() etc., similar to JDK-8280550.

      Attachments

        Issue Links

          Activity

            People

              prr Philip Race
              goetz Goetz Lindenmaier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: