| 216 | } |
| 217 | |
| 218 | Float16 Float16::FromDouble(double d) { |
| 219 | const uint64_t d_bits = SafeCopy<uint64_t>(d); |
| 220 | return FromBits(BinaryConverter<uint64_t>::ToBinary16(d_bits)); |
| 221 | } |
| 222 | |
| 223 | ARROW_EXPORT std::ostream& operator<<(std::ostream& os, Float16 arg) { |
| 224 | return (os << arg.ToFloat()); |
nothing calls this directly
no test coverage detected