[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Three questions about pcase for Stefan
From: |
Drew Adams |
Subject: |
RE: Three questions about pcase for Stefan |
Date: |
Sat, 23 Jan 2016 14:08:27 -0800 (PST) |
> > 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.