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

Function signal

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

Signal and silence signaling NaN. \param nan half-precision NaN value \return quiet NaN \exception FE_INVALID if \a nan is signaling NaN

Source from the content-addressed store, hash-verified

689 /// \return quiet NaN
690 /// \exception FE_INVALID if \a nan is signaling NaN
691 inline HALF_CONSTEXPR_NOERR unsigned int signal(unsigned int nan)
692 {
693 #if HALF_ERRHANDLING
694 raise(FE_INVALID, !(nan&0x200));
695 #endif
696 return nan | 0x200;
697 }
698
699 /// Signal and silence signaling NaNs.
700 /// \param x first half-precision value to check

Callers 15

selectFunction · 0.85
integralFunction · 0.85
operator+Function · 0.85
operator*Function · 0.85
operator/Function · 0.85
fmodFunction · 0.85
remainderFunction · 0.85
remquoFunction · 0.85
fmaFunction · 0.85
fdimFunction · 0.85
expFunction · 0.85
exp2Function · 0.85

Calls 1

raiseFunction · 0.85

Tested by

no test coverage detected