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

Wrong result for Number.prototype.toString() for certain radix/inputs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • OS:
      linux_ubuntu

      Backports

        Description

        FULL PRODUCT VERSION :


        A DESCRIPTION OF THE PROBLEM :
        Number.prototype.toString() gives wrong results for certain input parameters. See http://code.google.com/p/v8/issues/detail?id=3025 for original bug report in V8.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        jjs> 0x8000000000000800.toString(5)

        Expected: 1104332401304422434310342411
        Actual: 1104332401304422434310444401


        REPRODUCIBILITY :
        This bug can be reproduced always.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                hannesw Hannes Wallnoefer
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: