Kahan summation: Difference between revisions

m
→‎{{header|Perl 6}}: not incomplete
(Added Perl example)
m (→‎{{header|Perl 6}}: not incomplete)
Line 1,370:
 
=={{header|Perl 6}}==
{{incomplete|Perl 6|All examples should have constants chosen to clearly show the benefit of Kahan summing!}}|
{{trans|Python}}
Perl 6 does not offer a fixed precision decimal. It ''does'' have IEEE 754 floating point numbers so let's try implementing the floating point option as shown in Python. Need to explicitly specify scientific notation numbers to force floating point Nums.
2,392

edits