Lines Matching refs:HexFloat
217 // The numerical type that this HexFloat represents.
288 class HexFloat {
295 explicit HexFloat(T f) : value_(f) {}
416 // Sets this HexFloat from the individual components.
634 // Casts this value to another HexFloat. If the cast is widening,
737 // Outputs the given HexFloat to the stream.
739 std::ostream& operator<<(std::ostream& os, const HexFloat<T, Traits>& value) {
740 using HF = HexFloat<T, Traits>;
815 HexFloat<T, Traits>& value) {
821 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type{0});
841 HexFloat<T, Traits>& value) {
853 value = HexFloat<T, Traits>(typename HexFloat<T, Traits>::uint_type{0});
881 HexFloat<FloatProxy<Float16>, HexFloatTraits<FloatProxy<Float16>>>& value) {
883 HexFloat<FloatProxy<float>> float_val(0.0f);
940 // Reads a HexFloat from the given stream.
960 std::istream& operator>>(std::istream& is, HexFloat<T, Traits>& value) {
961 using HF = HexFloat<T, Traits>;
1243 os << HexFloat<FloatProxy<T>>(value);
1252 os << HexFloat<FloatProxy<Float16>>(value);