Lines Matching defs:FloatFormat
59 FloatFormat::FloatFormat (int minExp,
98 double FloatFormat::ulp (double x, double count) const
133 int FloatFormat::exponentShift (int exp) const
139 //! significand bits and minimum exponent of the floatformat. Round up if
141 double FloatFormat::round (double d, bool upward) const
153 //! floatformat, given its limitations with infinities, subnormals and maximum
155 Interval FloatFormat::clampValue (double d) const
173 Interval FloatFormat::convert (const Interval& x) const
202 double FloatFormat::roundOut (double d, bool upward, bool roundUnderOverflow) const
216 Interval FloatFormat::roundOut (const Interval& x, bool roundUnderOverflow) const
227 std::string FloatFormat::floatToHex (double x) const
255 std::string FloatFormat::intervalToHex (const Interval& interval) const
271 static FloatFormat nativeFormat (void)
277 return FloatFormat(Limits::min_exponent - 1, // These have a built-in offset of one
288 FloatFormat FloatFormat::nativeFloat (void)
293 FloatFormat FloatFormat::nativeDouble (void)
310 Test (MovePtr<FloatFormat> fmt) : m_fmt(fmt) {}
318 UniquePtr<FloatFormat> m_fmt;
357 : Test (MovePtr<FloatFormat>(new FloatFormat(-126, 127, 23, true))) {}