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

Nashorn is too precise

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • None
    • core-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: