From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Michael Heerdegen <michael_heerdegen@web.de>,
Emacs Development <emacs-devel@gnu.org>
Subject: Re: Three questions about pcase for Stefan
Date: Sat, 23 Jan 2016 17:22:06 -0500 [thread overview]
Message-ID: <jwv7fj05459.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <56A3EF3E.3020502@cs.ucla.edu> (Paul Eggert's message of "Sat, 23 Jan 2016 13:23:10 -0800")
>> 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.
1- we can assume that an expert would only write correct code, so yes
they'd only do it when it's correct, but since it's rarely correct,
they'd only use it very rarely.
2- instead of "1.0" the experts can write "'1.0".
Stefan
prev parent reply other threads:[~2016-01-23 22:22 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
2016-01-23 22:22 ` Stefan Monnier [this message]
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=jwv7fj05459.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=michael_heerdegen@web.de \
/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).