Name: skT88420 Date: 03/17/2000
not necessary
The java.lang.Math.log() function only has log base 'e'. The function Math.log()
should take two parameters:
public double log( double a, int base );
in order to compensate for logarithms of other bases. a simple fix would be to
add
public double log( double a, int base ){
return log( a ) / log( base );
}
to the Math class.
oh, and on the bug form, there needs to be an 'annoying missing feature' button.
(Review ID: 102613)
======================================================================
- relates to
-
JDK-4074599 Math package: implement log10 (base 10 logarithm)
- Resolved