| 313 | } |
| 314 | |
| 315 | static double FastMathSafeNegInf() { |
| 316 | #ifdef __FAST_MATH__ |
| 317 | union { |
| 318 | uint64_t from; |
| 319 | double to; |
| 320 | } u; |
| 321 | u.from = 0xFFF0000000000000ULL; // write "from", read "to" |
| 322 | return u.to; |
| 323 | #else |
| 324 | return -std::numeric_limits<double>::infinity(); |
| 325 | #endif |
| 326 | } |
| 327 | |
| 328 | static double FastMathSafeNaN() { |
| 329 | #ifdef __FAST_MATH__ |
nothing calls this directly
no outgoing calls
no test coverage detected