Add Number.pow(double)

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.4.2
    • Component/s: core-libs
    • x86
    • windows_xp



      Name: jl125535 Date: 01/14/2004


      A DESCRIPTION OF THE REQUEST :
      I see BigInteger has a pow() method that takes an int argument, but it would be EXTEREMLY helpful, especially in the scientific world, if there was another pow() method that accepted a float or double as a param.

      Also BigDecimal doesn't even have a pow() function!


      JUSTIFICATION :
      One main reason would be to pass .5 to allow for the sqrt() of a BigInteger or BigDecimal. So if the pow() method with a double or float parameter is not possible could a sqrt() function be added to the method list of BigInteger or BigDecimal?

      Unfortunately, java.lang.Math.pow() is insufficient for gigantic numbers.
      (Incident Review ID: 225220)
      ======================================================================

            Assignee:
            Joe Darcy
            Reporter:
            Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: