2 ms·
Fixed-precision is much better for business uses. What, exactly is the benefit of floating point decimal? If you want to divide a $100 venmo three ways, you g
by dnautics 11y ago
Fixed-precision is much better for business uses. What, exactly is the benefit of floating point decimal? If you want to divide a $100 venmo three ways, you get to know that your 1/3 is carried to 12 decimal places instead of 2?
- bsder 11y agoFixed-precision is fine. Until your quantum isn't good enough. We only store to hundredths ... oops ... new regulations require us to decimal round to thousandths. Cue full reload of the database with all your numbers in them. Or, even better, try dealing with mm and mils in the same CAD database simultaneously. (conversion factor of 25.4--a clean number in decimal but very much not in binary) In addition, you forget that simply adding decimals doesn't work in binary floating point. Adding 0.10 10 times doesn't equal 1.00 in binary floating point no matter how much precision you use.