| 9714 | |
| 9715 | template <typename Target, typename Source> |
| 9716 | Target reinterpret_bits(const Source source) |
| 9717 | { |
| 9718 | static_assert(sizeof(Target) == sizeof(Source), "size mismatch"); |
| 9719 | |
| 9720 | Target target; |
| 9721 | std::memcpy(&target, &source, sizeof(Source)); |
| 9722 | return target; |
| 9723 | } |
| 9724 | |
| 9725 | struct diyfp // f * 2^e |
| 9726 | { |
nothing calls this directly
no outgoing calls
no test coverage detected