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)
======================================================================
- duplicates
-
JDK-4297957 Add algebraic and transcendental functions operating on BigDecimal
-
- Closed
-
- relates to
-
JDK-4851777 Add BigDecimal sqrt method
-
- Closed
-