From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help Subject: Re: Inconsistency: sometimes an integer, sometimes a float Date: Thu, 23 Jan 2014 16:50:12 +0100 Message-ID: <87ob32zoi3.fsf@X200s.iue.private> References: <4ce73e74-a069-4e8d-b606-5aa76b848940@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1390492188 27492 80.91.229.3 (23 Jan 2014 15:49:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jan 2014 15:49:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 23 16:49:56 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W6MXQ-00074i-6H for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jan 2014 16:49:52 +0100 Original-Received: from localhost ([::1]:41939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6MXP-0006XZ-Ju for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Jan 2014 10:49:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6MWv-0006ID-E0 for help-gnu-emacs@gnu.org; Thu, 23 Jan 2014 10:49:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6MWp-0006sr-E4 for help-gnu-emacs@gnu.org; Thu, 23 Jan 2014 10:49:21 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:42876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6MWp-0006sg-6S for help-gnu-emacs@gnu.org; Thu, 23 Jan 2014 10:49:15 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W6MWo-0006hv-8y for help-gnu-emacs@gnu.org; Thu, 23 Jan 2014 16:49:14 +0100 Original-Received: from 109.201.152.239 ([109.201.152.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jan 2014 16:49:14 +0100 Original-Received: from rasmus by 109.201.152.239 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jan 2014 16:49:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 109.201.152.239 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEX+/v7f3+CTk5O/v8C/ wMHPz8+fn6Cvr7C/wL92dXahoZ/AwL9MTEyAgH9gX19+f4AwLzN/gIBRedkoAAAACXBIWXMAAABI AAAASABGyWs+AAABfUlEQVRIDd3B0VbbQBBEwdstzYx3BYL8/88GYTCytD5xHpMq/gGyp5m/EInK xfMs4JLBs9TYZOdZ0diExZOisVHjGVGhamyi8UCJb2qVruTT1BkKZ4ovZsdiJJJwcBVN3CgZagJP fPHCTQYjaoIsNmEXNzInilryRZAFyGIvxUG89mmeJwFZgIM9JQc9uXEA6YUdc1S+iC/mgxs7FRwo X1ZxNRfQ2FNxr79N4qYL5IUdc68He1MIWvAjxR3ZYk9C4keKg7k1u4sHOiOqtTMiOg8EI9mCxyRO ojkYirf1tVmcRDaBOPAaHElsZidKcW9loAKIjGRdm8VeFQNeyjlX87unEDeKOV5Wzpa2CGaxF79a a3YWZ9E5m9bgEQcDsvsiBi5mLPz+xtnUxICytRQnYTMg58KZyilGmjgLu8RYBgfKluJKTRyVS3yR FjsnvskhdAlXEWGuFOXszp5pX4KdFIKoJYJ7+sTRpap6Zs+Ne9XCn+hDzDEvl6k24j/wGxJYCCwe kUkPAAAAAElFTkSuQmCC User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:FNULsYUVSTFThPj2XrVw/ElBlJ0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95575 Archived-At: djc 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!