Calculating the value of e: Difference between revisions
m
→{{header|raku}}: minor simplification
imported>Maxima enthusiast No edit summary |
m (→{{header|raku}}: minor simplification) |
||
Line 3,483:
=={{header|Raku}}==
(formerly Perl 6)
{{works with|Rakudo|
<syntaxhighlight lang="raku" line># If you need high precision: Sum of a Taylor series method.
# Adjust the terms parameter to suit. Theoretically the
Line 3,489:
# series takes an awfully long time so limit to 500.
constant 𝑒 = [\+]
.say for 𝑒[500].comb(80);
|