From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "John Wiegley" Newsgroups: gmane.emacs.devel Subject: Re: Checking for loss of information on integer conversion Date: Sun, 18 Feb 2018 22:03:45 -0800 Message-ID: References: <7432641a-cedc-942c-d75c-0320fce5ba39@cs.ucla.edu> <87woza7wwi.fsf@trurl.irif.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519020141 18799 195.159.176.226 (19 Feb 2018 06:02:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2018 06:02:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (darwin) Cc: emacs-devel@gnu.org To: Juliusz Chroboczek Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 19 07:02:17 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eneWY-0003fX-MW for ged-emacs-devel@m.gmane.org; Mon, 19 Feb 2018 07:02:02 +0100 Original-Received: from localhost ([::1]:47719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eneYZ-0000CM-5R for ged-emacs-devel@m.gmane.org; Mon, 19 Feb 2018 01:04:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eneYT-0000CG-Ly for emacs-devel@gnu.org; Mon, 19 Feb 2018 01:04:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eneYS-0000vm-5i for emacs-devel@gnu.org; Mon, 19 Feb 2018 01:04:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eneYS-0000vi-1d; Mon, 19 Feb 2018 01:04:00 -0500 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:34999) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1eneYR-0002EN-Lh; Mon, 19 Feb 2018 01:03:59 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 26F8320988; Mon, 19 Feb 2018 01:03:59 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 19 Feb 2018 01:03:59 -0500 X-ME-Sender: Original-Received: from localhost (76-234-69-149.lightspeed.frokca.sbcglobal.net [76.234.69.149]) by mail.messagingengine.com (Postfix) with ESMTPA id B30A37E146; Mon, 19 Feb 2018 01:03:58 -0500 (EST) In-Reply-To: <87woza7wwi.fsf@trurl.irif.fr> (Juliusz Chroboczek's message of "Sun, 18 Feb 2018 23:31:09 +0100") Mail-Followup-To: Juliusz Chroboczek , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222893 Archived-At: >>>>> "JC" == Juliusz Chroboczek writes: >> Second, although Emacs still reads large integers like >> 18446744073709551616 as if they were floating-point, it now signals an >> error if information is lost in the process. JC> That's better, but still horrible. Now you've made it hard for me to sleep soundly tonight. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2