From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 37940b3: min and max now return one of their arguments Date: Thu, 09 Mar 2017 18:54:31 +0200 Message-ID: <83o9xafl14.fsf@gnu.org> References: <20170307012700.3354.30219@vcs0.savannah.gnu.org> <20170307012701.1C05D23F1F@vcs0.savannah.gnu.org> <83efy7hih9.fsf@gnu.org> <3530106c-241e-c7e5-f01a-7462b98db737@cs.ucla.edu> <83shmmfn21.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1489078503 11184 195.159.176.226 (9 Mar 2017 16:55:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2017 16:55:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?windows-1252?Q?Cl=E9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 09 17:54:59 2017 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 1cm1L9-0002XL-P8 for ged-emacs-devel@m.gmane.org; Thu, 09 Mar 2017 17:54:59 +0100 Original-Received: from localhost ([::1]:35189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm1LF-0007Ah-Sy for ged-emacs-devel@m.gmane.org; Thu, 09 Mar 2017 11:55:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm1L8-0007AH-Pc for emacs-devel@gnu.org; Thu, 09 Mar 2017 11:54:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cm1L3-0004vm-VL for emacs-devel@gnu.org; Thu, 09 Mar 2017 11:54:58 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm1L3-0004vi-SN; Thu, 09 Mar 2017 11:54:53 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2311 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cm1L3-0004X8-6t; Thu, 09 Mar 2017 11:54:53 -0500 In-reply-to: (message from =?windows-1252?Q?Cl=E9ment?= Pit-Claudel on Thu, 9 Mar 2017 11:25:22 -0500) 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:212861 Archived-At: > From: Clément Pit-Claudel > Date: Thu, 9 Mar 2017 11:25:22 -0500 > > I think it does matter sometimes, as some bits of Emacs explicitly distinguish between floats and ints (for example I might write `(face (:height ,(if use-absolute-size 120 1.2)))) If that's the use case, you will have to use the likes of 'floor' anyway, because you cannot control well enough what happens in non-trivial calculations involving floats.