What is Nostr?
Tim Bray /
npub19ua…53cv
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
npub19ua0a9gu7ggm693nqm6knq3zutckcfde9p6ra7a8fu73xhvy3sgqz253cv