@param x a double value @return The log 10
(double x)
| 972 | * @return The log<sub>10</sub> |
| 973 | */ |
| 974 | static public double log10(double x) throws ArithmeticException { |
| 975 | if(x<=0.0) { |
| 976 | throw new ArithmeticException("range exception"); //$NON-NLS-1$ |
| 977 | } |
| 978 | return Math.log(x)/2.30258509299404568401; |
| 979 | } |
| 980 | |
| 981 | } |
| 982 |
no test coverage detected