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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • b10
    • linux_ubuntu

        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.

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

                Created:
                Updated:
                Resolved: