unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: "chen bin" <chenbin.sh@gmail.com>
Cc: 13346@debbugs.gnu.org
Subject: bug#13346: 24.2; floor and round cannot handle big number produced by (float-time)
Date: Thu, 03 Jan 2013 19:28:46 -0500	[thread overview]
Message-ID: <uwip7dhjup.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87ip7eqs84.fsf@homepc.i-did-not-set--mail-host-address--so-tickle-me> ("chen bin (陈斌)"'s message of "Thu, 03 Jan 2013 22:03:07 +0800")

chen bin (陈斌) wrote:

> Run elisp code (round (float-time)) and you get the error.

That's just how it is in 32-bit Emacs.
From the elisp manual:

  The range of values for integers in Emacs Lisp is -536870912 to
  536870911 (30 bits; i.e., -2**29 to 2**29 - 1) on typical 32-bit
  machines.

You can either use a 64-bit Emacs, or has been suggested, try
configuring --with-wide-int to get more range.

> In GNU Emacs 24.2.1 (i686-pc-linux-gnu)





      parent reply	other threads:[~2013-01-04  0:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-03 14:03 bug#13346: 24.2; floor and round cannot handle big number produced by (float-time) chen bin
2013-01-03 18:50 ` Thierry Volpiatto
2013-01-03 23:14 ` Stefan Monnier
2013-01-04  0:28 ` Glenn Morris [this message]

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=uwip7dhjup.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=13346@debbugs.gnu.org \
    --cc=chenbin.sh@gmail.com \
    /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).