[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Three questions about pcase for Stefan
From: |
Stefan Monnier |
Subject: |
Re: Three questions about pcase for Stefan |
Date: |
Sat, 23 Jan 2016 17:22:06 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> 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