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

Signed overflow in multiply_high_signed()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 21
    • 21
    • hotspot

      I ran into an overflow with multiply (running with -ftrapv) but it looks like the add can also overflow. We could fix this with java_multiply() and java_add(), but it might make the code more readable if we use operator overloading.

            chagedorn Christian Hagedorn
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: