Sum of a series: Difference between revisions

m (→‎{{header|Wren}}: Changed to Wren S/H)
 
(One intermediate revision by the same user not shown)
Line 1,734:
 
=={{header|langur}}==
<syntaxhighlight lang="langur">writeln "calc.: ", fold ffn{+}, map ffn(.x) { 1/.x^2 }, 1..1000
writeln "exactknown: ", pi^2/6</syntaxhighlight>
 
{{out}}
Line 1,746:
<syntaxhighlight lang="langur">mode divMaxScale = 100
 
writeln "calc.: ", fold ffn{+}, map ffn(.x) 1/.x^2, 1..1000
writeln "exactknown: ", pi^2/6</syntaxhighlight>
 
{{out}}
885

edits