Calculating the value of e: Difference between revisions
Content added Content deleted
(PascalABC.NET) |
Langurmonkey (talk | contribs) |
||
Line 2,733: | Line 2,733: | ||
} |
} |
||
writeln " |
writeln "e = ", .e |
||
⚫ | |||
# compare to built-in constant e |
|||
⚫ | |||
{{out}} |
{{out}} |
||
The result depends on the .epsilon value and the divMaxScale mode. Set to 15, this would give the same result as the Go example. |
The result depends on the .epsilon value and the divMaxScale mode. Set to 15, this would give the same result as the Go example. |
||
<pre> |
<pre>e = 2.71828182845904523536028747135266249775724709369995957496696762772407663035354759457138217852516642742747 |
||
e = 2.71828182845904523536028747135266249775724709369995957496696762772407663035354759457138217852516642742746 |
|||
</pre> |
</pre> |
||