Why Nostr? What is Njump?
2024-12-27 11:02:58

musicmatze :rust: :nixos: on Nostr: If anyone needs another reason why not to use #golang: > When you write 0.1 + 0.2 in ...

If anyone needs another reason why not to use #golang:

> When you write 0.1 + 0.2 in Go, that expression gets evaluated to 0.3 at compile time with no precision loss. If you evaluate 0.1 + 0.2 == 0.3, you'll get true. However, if you use variables instead of constants—that is, set a := 0.1 and b := 0.2 and print a + b—you'll once again see 0.30000000000000004.

https://rtfeldman.com/0.1-plus-0.2#compile-time-vs-runtime

I can't even...
Author Public Key
npub1ja605u7e86q8n5ptvyyh5z4wy0ucjre4a7vsgzhvjhgdauhjfcns6mjwly