Returns the fractional part of a number. @param x the input number @return the fractional part (always in range [0.0, 1.0))
(double x)
| 210 | * @return the fractional part (always in range [0.0, 1.0)) |
| 211 | */ |
| 212 | private static double fpart(double x) { |
| 213 | return x - Math.floor(x); |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * Returns the reverse fractional part of a number (1 - fractional part). |
no test coverage detected