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

Method FloatStatus

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

Source from the content-addressed store, hash-verified

54 kOverflow | kUnderflow);
55
56 FloatStatus(bool clear_on_dst=true)
57 : clear_on_dst_(clear_on_dst)
58 {
59 if constexpr (kAllExcept != 0) {
60 fpstatus_ = fetestexcept(kAllExcept);
61 }
62 else {
63 fpstatus_ = 0;
64 }
65 }
66 ~FloatStatus()
67 {
68 if constexpr (kAllExcept != 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected