| 11484 | namespace { |
| 11485 | |
| 11486 | int32_t convert(float f) { |
| 11487 | static_assert(sizeof(float) == sizeof(int32_t), "Important ULP matcher assumption violated"); |
| 11488 | int32_t i; |
| 11489 | std::memcpy(&i, &f, sizeof(f)); |
| 11490 | return i; |
| 11491 | } |
| 11492 | |
| 11493 | int64_t convert(double d) { |
| 11494 | static_assert(sizeof(double) == sizeof(int64_t), "Important ULP matcher assumption violated"); |
no outgoing calls
no test coverage detected