Pathological floating point problems: Difference between revisions

m
→‎Siegfried Rump's example: made the (visible) expressions for the formula in the F function to appear closer to the task's version. .
m (→‎Siegfried Rump's example: made the (visible) expressions for the formula in the F function to appear closer to the task's version. .)
Line 2,281:
exit /*stick a fork in it, we're all done. */
/*──────────────────────────────────────────────────────────────────────────────────────*/
f: procedure; parse arg a,b; return a2=a333.75* b*2;*6 + b2=b a**2; * (11* b4=b2a**2;* b6=b4b*b2;*2 - b8=b4 b**26,
return 333.75*b6 + a2*(11*a2*b2 - b6 - 121*b4b**4 - 2) + 5.5*b8b**8 + a / (2*b)</lang>
{{out|output|text=&nbsp; when using the default inputs:}}
<pre>