| 206 | } |
| 207 | |
| 208 | Float16 Float16::FromFloat(float f) { |
| 209 | const uint32_t f_bits = SafeCopy<uint32_t>(f); |
| 210 | return FromBits(BinaryConverter<uint32_t>::ToBinary16(f_bits)); |
| 211 | } |
| 212 | |
| 213 | double Float16::ToDouble() const { |
| 214 | const uint64_t d_bits = BinaryConverter<uint64_t>::FromBinary16(bits_); |
nothing calls this directly
no test coverage detected