You are making a ‘modern’ assumption based on incorrect data.
Unless proper correcting software is included, computers are terrible at math. They can do it in binary, octal and hexidecimal. Unfortunately, they can not do decimal math. (There is NO octal equivalent to decimal 0.05… period. Also, there is a major difference between negative zero (-0.00) and positive zero (0.00). Control Data used to manufacture a decimal computer, and these problems were not really a question. Since the Window take over of reality, precision decimal math has taken a back seat to ‘enhancements’ instead of true and accurate function.
In the olde tymes (when BAL and machine language were the only languages, and punch paper tape was high speed input… Computers had to have math functions programmed (oftentimes) since, if you really know the facts, computers can only add.
Writing functions to actually do math correctly, is a lost art. After all, Computers are great at multiplying and dividing!! Right!!!.. er… ummm…
No. They aren’t. Not unless a human, with understanding and knowledge, fixes the basic problem… Computers are binary, and Binary, Converted to octal, doesn’t function in decimal.
Launch a space ship, from earth, to … Ummm. Mars… The error in the system, unless corrected for (have you ever heard of mid missions flight corrections??) will miss Mars, and not by a small factor.
Unary mathematics is almost unheard of, now days… I remember a thick tome that was required reading, to do flight plotting. Seems a negative zero will, according to the computer either be equal, or not equal to positive zero, unless Murphy said it ain’t, and you better listen.
Mathematically speaking, if the remainder of a subtration is even 0.000… (999 more zeroes)…01, there is a difference. Unless the difference is zero (positive or negative) there is a difference! If there is a positive or a negative zero, they you have to know why and test to see IF the difference is significant. Not doing so, will create errors like you might not believe.