Pathological floating point problems: Difference between revisions
Pathological floating point problems (view source)
Revision as of 11:16, 24 January 2024
, 4 months ago→{{header|Wren}}: Minor tidy
No edit summary |
m (→{{header|Wren}}: Minor tidy) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1,980:
=={{header|Fōrmulæ}}==
{{FormulaeEntry|page=https://formulae.org/?script=examples/Pathological_floating_point_problems}}
'''Solution'''
'''Case 1. Introduction example'''
[[File:Fōrmulæ - Pathological floating point problems 01.png]]
[[File:Fōrmulæ - Pathological floating point problems 02.png]]
'''Case 2. A sequence that seems to converge to a wrong limit'''
[[File:Fōrmulæ - Pathological floating point problems 03.png]]
[[File:Fōrmulæ - Pathological floating point problems 04.png]]
'''Case 3. The Chaotic Bank Society'''
[[File:Fōrmulæ - Pathological floating point problems 05.png]]
[[File:Fōrmulæ - Pathological floating point problems 06.png]]
'''Case 4. Siegfried Rump's example'''
[[File:Fōrmulæ - Pathological floating point problems 07.png]]
[[File:Fōrmulæ - Pathological floating point problems 08.png]]
=={{header|Go}}==
Line 4,496 ⟶ 4,518:
{{libheader|Wren-big}}
{{libheader|Wren-fmt}}
<syntaxhighlight lang="
import "./fmt" for Fmt
var LIMIT = 100
|