Reading up on how floats are stored and it's pretty cool how you can store numbers as large as 3.4×10^38 in the same amount of memory that an integer can store only about 2 billion.

Absolutely wonderful

  • 5
    Most of it is just trailing 0's though
  • 7
    @theabbie yeah, but I still think it's a really clever way to deal with numbers where maybe you need scale but not precision. Also, it has specific encodings for infinity and NaN. It's just so packed with cool stuff in comparison to the very linear and boring integer
  • 4
    I like some of the big number support in boost for c++:


    When you need 128 bit or more floats or 1024 bit integers.
  • 3
    @Demolishun I've had enough CS for today but I'll come back to this rant in the future and read that
  • 4
    But you still can store only around 2 billion numbers. It's just different numbers.
  • 0
    You geeking out hard fam.
  • 6
    @HiFiWiFiSciFi You say that as if it’s a bad thing.
Add Comment