It seems that both -95.2443654287109 and -95.244365428711 are both approximation, with exactly the same error. It's just that one library decides to round down, the other up.$ echo '( -95.3009707988281 + -95.1877600585938 ) / 2' | bc -l -95.24436542871095000000 $
In reply to Re^2: Decimal precision issue: Windows vs. Unix
by JavaFan
in thread Decimal precision issue: Windows vs. Unix
by whakka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |