Lines Matching refs:HexFloat
170 // The numerical type that this HexFloat represents.
240 class HexFloat {
247 explicit HexFloat(T f) : value_(f) {}
370 // Sets this HexFloat from the individual components.
550 // Casts this value to another HexFloat. If the cast is widening,
653 // Outputs the given HexFloat to the stream.
655 std::ostream& operator<<(std::ostream& os, const HexFloat<T, Traits>& value) {
656 typedef HexFloat<T, Traits> HF;
731 HexFloat<T, Traits>& value) {
737 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type(0));
757 HexFloat<T, Traits>& value) {
769 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type(0));
797 HexFloat<FloatProxy<Float16>, HexFloatTraits<FloatProxy<Float16>>>& value) {
799 HexFloat<FloatProxy<float>> float_val(0.0f);
815 // Reads a HexFloat from the given stream.
835 std::istream& operator>>(std::istream& is, HexFloat<T, Traits>& value) {
836 using HF = HexFloat<T, Traits>;
1051 os << HexFloat<FloatProxy<T>>(value);
1060 os << HexFloat<FloatProxy<Float16>>(value);