Anonymous user
Pathological floating point problems: Difference between revisions
Pathological floating point problems (view source)
Revision as of 02:52, 23 February 2016
, 8 years ago→{{header|zkl}}: ah crap
m (→{{header|zkl}}: tweak) |
m (→{{header|zkl}}: ah crap) |
||
Line 92:
series:=Series.drop(100).value;</lang>
We'll use the convenient formula given in the referenced paper to create a fraction with big ints
<lang zkl>var BN=Import("zklBigNum"), digits=BN(10).pow(
fcn u(n){ // use formula to create a fraction of big ints
const b=-3, y=4;
|