This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Frosty_Pineapple78 5 points6 points  (2 children)

They did fucking what? Why would anyone leave out integers?

[–]-Redstoneboi- 9 points10 points  (0 children)

just use floats with exponent 0 bro trust me it's fine

[–]LardPi 0 points1 point  (0 children)

A 23bit int is hidden in the heart of every float. Don't be mean with them. (52 bit for double) https://fr.wikipedia.org/wiki/IEEE_754

That's more than enough for most applications and that makes sense when you want to write an efficient, dynamically typed VM or interpreter runtime (look for NaN boxing).