IEEE 754 (cdn.fosstodon.org)
submitted 2 years ago by to c/programmerhumor@lemmy.ml
 

Stolen Cross-posted from here: https://fosstodon.org/@foo/113731569632505985

Omni-Man looking at the IEEE 754 Single Precision Floating-Point Standard and saying "look what they need to mimic a fraction" with the rest of the meme whited out
you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 2 years ago (1 child)

A lot of work has gone into making floating point numbers efficient and they cover 99% of use cases. In the rare case you really need perfect fractional accuracy, it's not that difficult to implement as a pair of integers.

  • source
  • parent
  • hideshow 1 child comment