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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13346: 24.2; floor and round cannot handle big number produced by (f


From: Glenn Morris
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
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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)





reply via email to

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