MCPcopy Create free account
hub / github.com/apache/singa / half round_error

Method half round_error

include/half.hpp:2416–2417  ·  view source on GitHub ↗

Maximum rounding error in ULP (units in the last place).

Source from the content-addressed store, hash-verified

2414
2415 /// Maximum rounding error in ULP (units in the last place).
2416 static HALF_CONSTEXPR half_float::half round_error() HALF_NOTHROW
2417 { return half_float::half(half_float::detail::binary, (round_style==std::round_to_nearest) ? 0x3800 : 0x3C00); }
2418
2419 /// Positive infinity.
2420 static HALF_CONSTEXPR half_float::half infinity() HALF_NOTHROW { return half_float::half(half_float::detail::binary, 0x7C00); }

Callers

nothing calls this directly

Calls 1

halfClass · 0.85

Tested by

no test coverage detected