What is Nostr?
Tim Bray /
npub1ju7…ue59
2024-09-02 17:54:01

Tim Bray on Nostr: 1/2 Hey folks, to welcome September, a pair of ultrageek blog posts on representing ...

1/2 Hey folks, to welcome September, a pair of ultrageek blog posts on representing 64-bit IEEE 754 floats in the minimum possible number of UTF-8 bytes. The 95% of you who just thought “Huh? What?” or “Who even cares” are being entirely sensible. For the rest of you, here’s “Q Numbers Redux”: https://www.tbray.org/ongoing/When/202x/2024/08/28/Q-Numbers-2 which contains this terrifying Go code:
mask := (u>>63)*^uint64(0) | (1 << 63)
return numbits(u ^ mask)
Author Public Key
npub1ju780894uuhlpdhs73lcap4wu8avu8pphq9wpkdu2ztg4fchujuqy3ue59