snapshot of the current state of the floating-point status flags
import std.math.traits : isNaN; resetIeeeFlags(); real a = 3.5; a /= 0.0L; assert(a == real.infinity); assert(ieeeFlags.divByZero); a *= 0.0L; assert(isNaN(a)); assert(ieeeFlags.invalid);