3 ms·
Yeah, floats and ints are just fundamentally different, especially when you're at the level of caring about how hardware deals with things. TIL about Go: Nume
by steveklabnik 9y ago
Yeah, floats and ints are just fundamentally different, especially when you're at the level of caring about how hardware deals with things.
TIL about Go:
Numeric constants represent exact values of arbitrary precision and do not overflow. Consequently, there are no constants denoting the IEEE-754 negative zero, infinity, and not-a-number values.
https://golang.org/ref/spec https://golang.org/ref/spec
- reificator 9y agoYeah that's one of those things that I learn, and then forget, and then relearn, and forget... Would probably retain it better if I used Go as my primary language for a year or two.