| 24 | namespace internal { |
| 25 | |
| 26 | inline double FastPath(double significand, int exp) { |
| 27 | if (exp < -308) |
| 28 | return 0.0; |
| 29 | else if (exp >= 0) |
| 30 | return significand * internal::Pow10(exp); |
| 31 | else |
| 32 | return significand / internal::Pow10(-exp); |
| 33 | } |
| 34 | |
| 35 | inline double StrtodNormalPrecision(double d, int p) { |
| 36 | if (p < -308) { |
no test coverage detected