Computes log 2 (x) @param x the input @return the log base 2 of x
(double x)
| 53 | * @return the log base 2 of {@code x} |
| 54 | */ |
| 55 | public static double log2(double x) |
| 56 | { |
| 57 | return log2_2pd1(x); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Computes log<sub>2</sub>(x) using a Pade approximation. It is slower than |