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

Nashorn is too precise

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      Running it on V8 with
      d8 loop.js -- 1 666666666
      prints the output
      "iterations": 1,
      "n": 666666666,
      "result": 222222221844886660,

      Running it on Nashorn with
      jdk1.8.0/bin/jjs loop.js -- 1 666666666
      prints the output
      "iterations": 1,
      "n": 666666666,
      "result": 222222221844886656,

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hannesw Hannes Wallnoefer
              Reporter:
              jlaskey Jim Laskey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: