help-gnu-emacs
[Top][All Lists]
Advanced

[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: Fri, 09 Dec 2022 21:51:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Gregory Heytings <gregory@heytings.org> writes:

> M-: (expt 1001 1000) RET

Wow, Tomas and Gregory, thanks for the hint - I had forgotten that even
"normal" Emacs Lisp can do it exactly.  Wonderful.

(substring (number-to-string (expt 10001 10000)) 0 4) is too much,
however (Arithmetic overflow error).

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]