Pathological floating point problems: Difference between revisions

Content added Content deleted
(add PicoLisp)
m (→‎{{header|REXX}}: added a word to the REXX section header.)
Line 3,059: Line 3,059:


A little extra boilerplate code was added to support the specification of how many decimal digits that should be used for the
A little extra boilerplate code was added to support the specification of how many decimal digits that should be used for the
<br>calculations, &nbsp; as well how many decimal digits &nbsp; (past the decimal point) &nbsp; should be displayed.
<br>calculations, &nbsp; as well how many fractional decimal digits &nbsp; (past the decimal point) &nbsp; should be displayed.
===A sequence that seems to converge to a wrong limit===
===A sequence that seems to converge to a wrong limit===
<lang rexx>/*REXX pgm (pathological FP problem): a sequence that might converge to a wrong limit. */
<lang rexx>/*REXX pgm (pathological FP problem): a sequence that might converge to a wrong limit. */