Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by TheBeardyMan

Dreams' Calculator gadget uses 32 bit floating point numbers, and when converted to decimal, they're not guaranteed to be accurate to more than 6 significant digits. Compared to the true value 1278431424 for the sum of 670588224 and 607843200, the value 1278431488 that you got is accurate to 7 significant digits, which is within the ball park.

If you want to experiment with how floating point numbers work, you might like to have a look at https://evanw.github.io/float-toy/.

Oh dear! Your browser is either unsupported or there has been a problem loading the page.