| 14378 | |
| 14379 | template<typename Target, typename Source> |
| 14380 | Target reinterpret_bits(const Source source) |
| 14381 | { |
| 14382 | static_assert(sizeof(Target) == sizeof(Source), "size mismatch"); |
| 14383 | |
| 14384 | Target target; |
| 14385 | std::memcpy(&target, &source, sizeof(Source)); |
| 14386 | return target; |
| 14387 | } |
| 14388 | |
| 14389 | struct diyfp // f * 2^e |
| 14390 | { |
nothing calls this directly
no outgoing calls
no test coverage detected