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