Pathological floating point problems: Difference between revisions

m
→‎{{header|REXX}}: used a template for the output sections.
m (→‎The Chaotic Bank Society: increased decimal digits, included more information in the output section, added more wording to the REXX section header..)
m (→‎{{header|REXX}}: used a template for the output sections.)
Line 2,223:
end /*n*/ /*display SHOW digs past the dec. point*/
/*stick a fork in it, we're all done. */</lang>
'''{{out|output''' |text=&nbsp; when using the default inputs:}}
<pre>
v.4 = 9.37837837837837837838
Line 2,283:
f: procedure; parse arg a,b; a2=a**2; b2=b**2; b4=b2**2; b6=b4*b2; b8=b4**2
return 333.75*b6 + a2*(11*a2*b2 - b6 - 121*b4 - 2) + 5.5*b8 + a/(2*b)</lang>
'''{{out|output''' |text=&nbsp; when using the default inputs:}}
<pre>
f(a,b)= -0.82739605994682136814