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

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

Re: Inconsistency: sometimes an integer, sometimes a float


From: Rasmus
Subject: Re: Inconsistency: sometimes an integer, sometimes a float
Date: Thu, 23 Jan 2014 16:50:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

djc <peter.kaiser@gmail.com> writes:

> "(/ 536870911 1000000)" is an integer.
>
> "(/ 536870912 1000000)" is a float.

I cannot reproduce with the below Emacs: 

(type-of (/ 536870911 1000000)) => integer
(type-of (/ 536870912 1000000)) => integer

(emacs-version) => 
GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.6)
 of 2014-01-22 on localhost"

Can you reproduce from emacs -q?  Can you reproduce from the hg head?

> I know why, but it's still unpleasant to have to program around it.  I
> suppose this begs the question of when there will be a supported
> 64-bit release of Emacs. 

On Windows?  When someone supplies patches, I guess.  Meanwhile you
could try this

  http://semantic.supelec.fr/popineau/programming-emacs.html

I don't know how well it works.

–Rasmus

-- 
Enough with the bla bla!




reply via email to

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