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

Function feraiseexcept

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

Raise exception flags. This raises the specified floating point exceptions and also invokes any additional automatic exception handling as configured with the [HALF_ERRHANDLIG_...](\ref HALF_ERRHANDLING_ERRNO) preprocessor symbols. This function works even if [automatic exception flag handling](\ref HALF_ERRHANDLING_FLAGS) is disabled, but in that case manual flag management is the only way to rai

Source from the content-addressed store, hash-verified

4510 /// \param excepts OR of exceptions to raise
4511 /// \retval 0 all selected exceptions raised successfully
4512 inline int feraiseexcept(int excepts) { detail::errflags() |= excepts; detail::raise(excepts); return 0; }
4513
4514 /// Save exception flags.
4515 /// This function works even if [automatic exception flag handling](\ref HALF_ERRHANDLING_FLAGS) is disabled,

Callers 1

raiseFunction · 0.85

Calls 1

raiseFunction · 0.85

Tested by

no test coverage detected