Apéry's constant: Difference between revisions
Content added Content deleted
(Added Sidef) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
Line 425: | Line 425: | ||
=={{header|Wren}}== |
=={{header|Wren}}== |
||
{{libheader|Wren-big}} |
{{libheader|Wren-big}} |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "./big" for BigInt, BigRat |
||
var apery = Fn.new { |n| |
var apery = Fn.new { |n| |
||
Line 509: | Line 509: | ||
We can also verify the actual value of Apéry's constant to 100 decimal places using MPFR which has a zeta function built in. A precision of 324 bits is needed. |
We can also verify the actual value of Apéry's constant to 100 decimal places using MPFR which has a zeta function built in. A precision of 324 bits is needed. |
||
{{libheader|Wren-gmp}} |
{{libheader|Wren-gmp}} |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "./gmp" for Mpf |
||
var x = Mpf.new(324) |
var x = Mpf.new(324) |