in reply to Re^2: Decimal Floating Point (DFP) and does Perl needs DFP?
in thread Decimal Floating Point (DFP) and does Perl needs DFP?
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 :-)
|
|---|