this post was submitted on 08 Sep 2023
234 points (100.0% liked)
196
16478 readers
3440 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
2 + 2 == 4 with any reasonable fixed and floating point format. In ieee 754 floats powers of 2 have a fraction of exactly 1.0 and differing exponents.