In above, s/52606976/something else/ — a cast to __float80 was used for the lack of proper printf format. But the error is magnitudes higher than that, so... Regarding the expected result:
$ echo 'scale=80; 10 * (1.000001^78125)^768' | bc 1141973130130727445029596475.971653735685612Looks like the 60M figure was carefully picked :-)
In reply to Re^3: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |