What is Nostr?
lucy [🧶 era] /
npub17v6…v2an
2024-09-20 01:19:52

lucy [🧶 era] on Nostr: why add this weird complexity around equation checks for floats? all you'd have to do ...

why add this weird complexity around equation checks for floats? all you'd have to do is check "are the bits equal" and not "are either all the bits equal, or is in either 16/32/64 bits or whatever size your float is this specific combination used to denote for some reason it's non-equal to anything including itself?" it's useless complexity. if for some reason you want that, write an operator overload ig. name a scenario where that behaviour actually serves any purpose.
Author Public Key
npub17v63fu6adsyqrsjravtv6vx9wsrjr5x4qs3lrcnprx6gac8dv9jqhsv2an