MCPcopy Create free account
hub / github.com/apache/singa / invalid

Function invalid

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

Raise domain error and return NaN. return quiet NaN \exception FE_INVALID

Source from the content-addressed store, hash-verified

741 /// return quiet NaN
742 /// \exception FE_INVALID
743 inline HALF_CONSTEXPR_NOERR unsigned int invalid()
744 {
745 #if HALF_ERRHANDLING
746 raise(FE_INVALID);
747 #endif
748 return 0x7FFF;
749 }
750
751 /// Raise pole error and return infinity.
752 /// \param sign half-precision value with sign bit only

Callers 15

operator+Function · 0.85
operator*Function · 0.85
operator/Function · 0.85
fmodFunction · 0.85
remainderFunction · 0.85
remquoFunction · 0.85
fmaFunction · 0.85
logFunction · 0.85
log10Function · 0.85
log2Function · 0.85
log1pFunction · 0.85
sqrtFunction · 0.85

Calls 1

raiseFunction · 0.85

Tested by

no test coverage detected