Right you are about the __float128 case. After rewriting the constant as (__float128)1000001 / 1e6, my result now matches your calculation.
I'm inclined to think the bc-calculated value is accurate. But verifying that is rather laborious, for 1000001**6e7 is a number with ca 360M decimal digits.
In reply to Re^4: Decimal Floating Point (DFP) and does Perl needs DFP?
by Anonymous Monk
in thread Decimal Floating Point (DFP) and does Perl needs DFP?
by flexvault
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |