@lcamtuflcamtuf
This turns into real-life tech nightmares, such as "this data field is defined to be a floating point number, so it's OK to put Inf or NaN into it." Like, NO.
And there's the IEEE's contribution. Standards that include things like "[Infinities] are not error values in any way, though they are often (depends on the rounding) used as replacement values when there is an overflow." And requires "reasonble" things like Inf * -2 = -Inf
NOOOO.