MCPcopy Create free account
hub / github.com/numpy/numpy / RaiseDivideByZero

Method RaiseDivideByZero

numpy/core/src/common/float_status.hpp:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 return (fpstatus_ & kUnderflow) != 0;
93 }
94 static void RaiseDivideByZero()
95 {
96 if constexpr (kDivideByZero != 0) {
97 feraiseexcept(kDivideByZero);
98 }
99 }
100 static void RaiseInexact()
101 {
102 if constexpr (kInexact != 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected