Subject: bug#13346: 24.2; floor and round cannot handle big number produced by (float-time)

From: Glenn Morris <[email-masked]>
Date: Thu, 03 Jan 2013 19:28:46 -0500

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)