Re:C++17 – better than you might think
by fauigerzigerk on Thursday December 29, 2016 @08:15AM
(#13277080)
Sure, but division and multiplication add more decimal places. If you do a lot of calculations and you truncate or round every single intermediate result, rounding errors may add up to unacceptable levels in some cases.
So I wanted perform the caculations with high precision, then round the final result according to what the law requires.
So I wanted perform the caculations with high precision, then round the final result according to what the law requires.