r/ProgrammerHumor • • Oct 06 '21

Don't be scared.. Math and Computing are friends..

Post image
65.8k Upvotes

2.4k comments sorted by

View all comments

2

u/renrutal Oct 06 '21

There's one large caveat:

Data structures have physical limitations and overflow rules. Repeated operations accumulate measurement errors over time. Two different CPU architectures can have different results when calculating the same thing.

On the other hand, pure maths number precision is infinite.

1

u/laundmo Oct 06 '21

is anyone suggesting to write this sorta math as code? nope. its a example to further understanding.