(String s)
| 90 | } |
| 91 | |
| 92 | public static double parseDouble(String s) { |
| 93 | int[] numRead = new int[1]; |
| 94 | double d = doubleFromString(s, numRead); |
| 95 | if (numRead[0] == 1) { |
| 96 | return d; |
| 97 | } else { |
| 98 | throw new NumberFormatException(s); |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | public static long doubleToLongBits(double value) { |
| 103 | if (isNaN(value)) return 0x7ff8000000000000L; |
no test coverage detected