[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The next exercise
From: |
Michael Heerdegen |
Subject: |
Re: The next exercise |
Date: |
Mon, 12 Dec 2022 02:39:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Andy Moreton <andrewjmoreton@gmail.com> writes:
> Emacs can still do that:
>
> (let ((integer-width 200000))
> (substring (number-to-string (expt 10001 10000)) 0 4))
> => "2718"
Indeed:
(let ((integer-width 20000000))
(substring (number-to-string (expt 1000001 1000000)) 0 6))
==> 271828
6 digits from e. But there it starts to take some time.
Michael.
- Re: The next exercise, (continued)
- Re: The next exercise, Emanuel Berg, 2022/12/10
- Re: The next exercise, Michael Heerdegen, 2022/12/11
- Re: The next exercise, Emanuel Berg, 2022/12/15
- Re: The next exercise, Michael Heerdegen, 2022/12/15
- Re: The next exercise, Michael Heerdegen, 2022/12/15
- Re: The next exercise, Michael Heerdegen, 2022/12/15
- Re: The next exercise, Emanuel Berg, 2022/12/17
- Re: The next exercise, Michael Heerdegen, 2022/12/17
- Re: The next exercise, Emanuel Berg, 2022/12/20
- Re: The next exercise, Andy Moreton, 2022/12/11
- Re: The next exercise,
Michael Heerdegen <=
- Re: The next exercise, Emanuel Berg, 2022/12/15
- Re: The next exercise, Emanuel Berg, 2022/12/10
- Re: The next exercise, Emanuel Berg, 2022/12/09