unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Paul Eggert <eggert@cs.ucla.edu>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	Michael Heerdegen <michael_heerdegen@web.de>
Cc: Emacs Development <emacs-devel@gnu.org>
Subject: RE: Three questions about pcase for Stefan
Date: Sat, 23 Jan 2016 14:08:27 -0800 (PST)	[thread overview]
Message-ID: <4f92034b-858c-4c44-a51e-983da90a778a@default> (raw)
In-Reply-To: <56A3EF3E.3020502@cs.ucla.edu>

> > 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.

Really?  Care to give an expert example of what a `pcase' user
would need to do?

What users typically do for this, AFAIK, is to test that the
given floating-point number is within a certain range.  Even
experts don't test equality using `equal' and such, AFAIK.



  reply	other threads:[~2016-01-23 22:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-23 11:48 Three questions about pcase for Stefan Michael Heerdegen
2016-01-23 15:36 ` Stefan Monnier
2016-01-23 15:45   ` Michael Heerdegen
2016-01-24  4:52     ` Stefan Monnier
2016-01-23 21:23   ` Paul Eggert
2016-01-23 22:08     ` Drew Adams [this message]
2016-01-23 22:22     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f92034b-858c-4c44-a51e-983da90a778a@default \
    --to=drew.adams@oracle.com \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).