@lcamtuflcamtuf :verified: :verified: :verified: 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.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://byteheaven.net/users/tekhedd/statuses/114654757695270444 on your instance and quote it. (Note that quoting is not supported in Mastodon.)