GNU bug report logs - #33765
emacs-26.1-mac-7.4; (expt 2 140) ; produces 0 in scratch buffer, unexpectedly

Previous Next

Package: emacs;

Reported by: Van L <van <at> scratch.space>

Date: Sun, 16 Dec 2018 06:25:02 UTC

Severity: wishlist

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 33765 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org,Van L <van <at> scratch.space>,33765 <at> debbugs.gnu.org
Subject: Re: bug#33765: emacs-26.1-mac-7.4; (expt 2 140) ;
 produces 0 in scratch buffer, unexpectedly
Date: Sun, 16 Dec 2018 09:29:09 +0200
On December 16, 2018 8:24:18 AM GMT+02:00, Van L <van <at> scratch.space> wrote:
> Hello,
> 
> I was pushed to by reading the following to report this bug.
> 
> ┌────
> │ In this business we speak the language of mathematics
> │
> https://www.washingtonpost.com/local/obituaries/evelyn-berezin-entrepreneur-and-engineer-who-designed-early-word-processor-dies-at-93/2018/12/13/20af4524-fee7-11e8-ad40-cdfd0e0dd65a_story.html
> └────
> 
> 
> - ------------------------------------------------------------------
> 
> #+NAME: unexpected-result-in-scratch-buffer
> #+BEGIN_SRC emacs-lisp
> (expt 2 140) ; unexpected result is 0
> #+END_SRC
> 
> - ------------------------------------------------------------------
> 
> #+NAME: result-for-comparison
> 
>       Chez Scheme Version 9.5
>       Copyright 1984-2017 Cisco Systems, Inc.
> 
>       > (expt 2 140)
>       1393796574908163946345982392040522594123776
>       

Why do you say this is unexpected?

If you want the same support for huge numbers as in Scheme, try Emacs 27.




This bug report was last modified 6 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.