Searched refs:FloatProxyTraits (Results 1 – 3 of 3) sorted by relevance
67 struct FloatProxyTraits { struct72 struct FloatProxyTraits<float> { argument92 struct FloatProxyTraits<double> {114 struct FloatProxyTraits<Float16> {137 using uint_type = typename FloatProxyTraits<T>::uint_type;145 FloatProxy(T val) { data_ = FloatProxyTraits<T>::getBitsFromFloat(val); }158 T getAsFloat() const { return FloatProxyTraits<T>::getAsFloat(data_); }166 if (FloatProxyTraits<T>::width() == 64) {167 FloatProxyTraits<double>::uint_type d = data();177 bool isNan() { return FloatProxyTraits<T>::isNan(getAsFloat()); }[all …]
71 struct FloatProxyTraits { struct76 struct FloatProxyTraits<float> { argument88 struct FloatProxyTraits<double> {100 struct FloatProxyTraits<Float16> {117 typedef typename FloatProxyTraits<T>::uint_type uint_type;144 bool isNan() { return FloatProxyTraits<T>::isNan(getAsFloat()); }146 bool isInfinity() { return FloatProxyTraits<T>::isInfinity(getAsFloat()); }150 return FloatProxy<T>(FloatProxyTraits<T>::max());154 return FloatProxy<T>(FloatProxyTraits<T>::lowest());