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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated: