Timeline for Bug in floating-point number comparisons near $MachineEpsilon?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2018 at 15:54 | comment | added | Daniel Lichtblau | Yes to what I meant by trichotomy and yes to the expected behavior and rationale. | |
Apr 4, 2018 at 2:42 | comment | added | Michael E2 |
@anderstood Yes, that's why Daniel singles out Equal .
|
|
Apr 4, 2018 at 2:40 | comment | added | anderstood |
So could the problem come from the fact that qq==1. returns True ? Is qq - 1. == 0 $\neq$ qq == 1. and expected behaviour (I understand that it's a consequence from the relative tolerance).
|
|
Apr 4, 2018 at 1:33 | comment | added | Michael E2 | @anderstood The Trichotomy Law states that only one of $a < b$, $a = b$, and $a > b$ can be true. I assume that's what Daniel means. | |
Apr 4, 2018 at 1:21 | comment | added | anderstood | Could you expand a bit on mutually exclusive trichotomy please? | |
Apr 4, 2018 at 0:56 | history | answered | Michael E2 | CC BY-SA 3.0 |