MCPcopy Create free account
hub / github.com/OpenNMT/CTranslate2 / half infinity

Method half infinity

include/half_float/half.hpp:2421–2421  ·  view source on GitHub ↗

Positive infinity.

Source from the content-addressed store, hash-verified

2419
2420 /// Positive infinity.
2421 static HALF_CONSTEXPR half_float::half infinity() HALF_NOTHROW { return half_float::half(half_float::detail::binary, 0x7C00); }
2422
2423 /// Quiet NaN.
2424 static HALF_CONSTEXPR half_float::half quiet_NaN() HALF_NOTHROW { return half_float::half(half_float::detail::binary, 0x7FFF); }

Callers

nothing calls this directly

Calls 1

halfClass · 0.85

Tested by

no test coverage detected