unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: 33765@debbugs.gnu.org, van@scratch.space
Subject: 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	[thread overview]
Message-ID: <CEF4F544-87C5-4661-9B24-FB76BA7E677F@gnu.org> (raw)
In-Reply-To: <15DD7597-AD89-4109-AC2F-4F66B1C9ECCD@scratch.space>

On December 16, 2018 8:24:18 AM GMT+02:00, Van L <van@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.





  reply	other threads:[~2018-12-16  7:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-16  6:24 bug#33765: emacs-26.1-mac-7.4; (expt 2 140) ; produces 0 in scratch buffer, unexpectedly Van L
2018-12-16  7:29 ` Eli Zaretskii [this message]
2018-12-16 11:11   ` Van L
2018-12-16 13:07     ` Eli Zaretskii
2018-12-16 21:24       ` Van L
2018-12-17 15:53         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CEF4F544-87C5-4661-9B24-FB76BA7E677F@gnu.org \
    --to=eliz@gnu.org \
    --cc=33765@debbugs.gnu.org \
    --cc=van@scratch.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).