| 11313 | namespace { |
| 11314 | |
| 11315 | int32_t convert(float f) { |
| 11316 | static_assert(sizeof(float) == sizeof(int32_t), "Important ULP matcher assumption violated"); |
| 11317 | int32_t i; |
| 11318 | std::memcpy(&i, &f, sizeof(f)); |
| 11319 | return i; |
| 11320 | } |
| 11321 | |
| 11322 | int64_t convert(double d) { |
| 11323 | static_assert(sizeof(double) == sizeof(int64_t), "Important ULP matcher assumption violated"); |
no outgoing calls
no test coverage detected