Calculating the value of e: Difference between revisions
m
→{{header|J}}
m (→{{header|J}}: slightly more readable) |
m (→{{header|J}}) |
||
Line 2,198:
<pre>The value of e = 2.71828183</pre>
=={{header|J}}==
Perhaps too brief:
<syntaxhighlight lang=J> 0j100": +/%!i.100x
2.7182818284590452353602874713526624977572470936999595749669676277240766303535475945713821785251664274</syntaxhighlight>
<hr/>
Meanwhile, the j language has expressive notations for numbers. Examples:▼
<pre>
NB. rational one half times pi to the first power
|