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

Method half infinity

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

Positive infinity.

Source from the content-addressed store, hash-verified

2418
2419 /// Positive infinity.
2420 static HALF_CONSTEXPR half_float::half infinity() HALF_NOTHROW { return half_float::half(half_float::detail::binary, 0x7C00); }
2421
2422 /// Quiet NaN.
2423 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