Calculating the value of e: Difference between revisions
Content added Content deleted
(→{{header|UNIX Shell}}: style tweaks) |
m (→{{header|UNIX Shell}}: use actual ten exponent) |
||
Line 4,219: | Line 4,219: | ||
# least 31 bits available, which is sufficient to store (e - 1) * 10^9 |
# least 31 bits available, which is sufficient to store (e - 1) * 10^9 |
||
declare -ir one= |
declare -ir one=10**9 |
||
declare -i e n rfct=one |
declare -i e n rfct=one |
||