Simplify Math.scalb(double) method

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: core-libs
    • b16

      The current implementation of Math.scalb(double) contains a loop that performs a repeated multiplication, with factors 0x1p512 or 0x1p-512.

      There's no real need for the loop, and the factors can be much bigger/smaller.

            Assignee:
            Raffaello Giulietti
            Reporter:
            Raffaello Giulietti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: