From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Three questions about pcase for Stefan Date: Sat, 23 Jan 2016 13:23:10 -0800 Organization: UCLA Computer Science Department Message-ID: <56A3EF3E.3020502@cs.ucla.edu> References: <87r3h8zfd4.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1453584221 10122 80.91.229.3 (23 Jan 2016 21:23:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jan 2016 21:23:41 +0000 (UTC) Cc: Emacs Development To: Stefan Monnier , Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 23 22:23:32 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aN5ec-0005Th-Dv for ged-emacs-devel@m.gmane.org; Sat, 23 Jan 2016 22:23:30 +0100 Original-Received: from localhost ([::1]:58582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aN5eb-0001dl-Pg for ged-emacs-devel@m.gmane.org; Sat, 23 Jan 2016 16:23:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aN5eO-0001dU-Tu for emacs-devel@gnu.org; Sat, 23 Jan 2016 16:23:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aN5eL-0006ML-OW for emacs-devel@gnu.org; Sat, 23 Jan 2016 16:23:16 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aN5eL-0006MH-IP for emacs-devel@gnu.org; Sat, 23 Jan 2016 16:23:13 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 05BCE160688; Sat, 23 Jan 2016 13:23:12 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Nr7uuNx9KcXV; Sat, 23 Jan 2016 13:23:11 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5B9351607DA; Sat, 23 Jan 2016 13:23:11 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yCMr6lThF2Bg; Sat, 23 Jan 2016 13:23:11 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 36E23160688; Sat, 23 Jan 2016 13:23:11 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198661 Archived-At: Stefan Monnier wrote: > Testing equality of floating point numbers is very rarely correct. Although it's rarely correct in programs written by newbies, it's almost always correct in floating-point programs written by experts. Is pcase for newbies only, or for experts as well?