Home
last modified time | relevance | path

Searched refs:FloatTraits (Results 1 – 3 of 3) sorted by relevance

/third_party/boost/boost/graph/
Dhoward_cycle_ratio.hpp55 template < typename FloatTraits > struct min_comparator_props
57 typedef std::greater< typename FloatTraits::value_type > comparator;
61 template < typename FloatTraits > struct max_comparator_props
63 typedef std::less< typename FloatTraits::value_type > comparator;
67 template < typename FloatTraits, typename ComparatorProps >
70 typedef typename FloatTraits::value_type value_type;
76 return FloatTraits::infinity() * ComparatorProps::multiplier; in infinity()
81 return FloatTraits::epsilon() * ComparatorProps::multiplier; in epsilon()
91 template < typename FloatTraits, typename Graph, typename VertexIndexMap,
96 typedef typename FloatTraits::value_type float_t;
[all …]
/third_party/abseil-cpp/absl/strings/
Dcharconv.cc64 struct FloatTraits;
67 struct FloatTraits<double> { struct
136 struct FloatTraits<float> { struct
263 mantissa_width - FloatTraits<FloatType>::kTargetMantissaBits; in NormalizedShiftSize()
265 FloatTraits<FloatType>::kMinNormalExponent - binary_exponent; in NormalizedShiftSize()
305 *value = negative ? -FloatTraits<FloatType>::MakeNan(nan_argument) in HandleEdgeCase()
306 : FloatTraits<FloatType>::MakeNan(nan_argument); in HandleEdgeCase()
340 *value = FloatTraits<FloatType>::Make(calculated.mantissa, in EncodeResult()
502 if (mantissa == uint64_t(1) << FloatTraits<FloatType>::kTargetMantissaBits) { in CalculatedFloatFromRawValues()
506 if (exponent > FloatTraits<FloatType>::kMaxExponent) { in CalculatedFloatFromRawValues()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcharconv.cc64 struct FloatTraits;
67 struct FloatTraits<double> { struct
136 struct FloatTraits<float> { struct
263 mantissa_width - FloatTraits<FloatType>::kTargetMantissaBits; in NormalizedShiftSize()
265 FloatTraits<FloatType>::kMinNormalExponent - binary_exponent; in NormalizedShiftSize()
305 *value = negative ? -FloatTraits<FloatType>::MakeNan(nan_argument) in HandleEdgeCase()
306 : FloatTraits<FloatType>::MakeNan(nan_argument); in HandleEdgeCase()
340 *value = FloatTraits<FloatType>::Make(calculated.mantissa, in EncodeResult()
502 if (mantissa == uint64_t{1} << FloatTraits<FloatType>::kTargetMantissaBits) { in CalculatedFloatFromRawValues()
506 if (exponent > FloatTraits<FloatType>::kMaxExponent) { in CalculatedFloatFromRawValues()