Returns the reverse fractional part of a number (1 - fractional part). @param x the input number @return 1.0 minus the fractional part (always in range (0.0, 1.0])
(double x)
| 220 | * @return 1.0 minus the fractional part (always in range (0.0, 1.0]) |
| 221 | */ |
| 222 | private static double rfpart(double x) { |
| 223 | return 1.0 - fpart(x); |
| 224 | } |
| 225 | |
| 226 | /** |
| 227 | * Rounds a number to the nearest integer. |
no test coverage detected