resetIeeeFlags

Set all of the floating-point status flags to false.

version(IeeeFlagsSupport)
@trusted nothrow @nogc
void
resetIeeeFlags
()

Examples

resetIeeeFlags();
real a = 3.5;
a /= 0.0L;
assert(a == real.infinity);
assert(ieeeFlags.divByZero);

resetIeeeFlags();
assert(!ieeeFlags.divByZero);

Meta