hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.6K
active users

Lazyweb: why does NaN have a sign bit? Why wasn’t that the quiet/signaling bit?

@jrose because then copysign/abs/negate could produce a sNaN result from qNaN input, contra clause 5 norms.

(Or else wouldn’t just be bitwise ops, also undesirable)

Cassandrich

@steve @jrose This. 👆

Better question: why does sNaN exist? 🙃

@dalias @jrose because velvel wanted to use it for debugging purposes, roughly

@dalias @steve @jrose so you could trap on the first exception and set it to quiet and run through the rest of the calculation without trapping

@atax1a @steve @jrose Yeah but trapping is such a stupid behavior (not even supported by standard interfaces) to begin with.

@dalias @steve @jrose yeah don't mind us we've just been basting our brain with a bunch of pre-754 IBM manuals

@atax1a @steve @jrose Clearly the drug of choice for these times.