Repository navigation
Commit 0607cc9
#415's behaviour was fixed by PR #677, but the example the issue reports is a
screenshot, and what was tested at the time was an intersection of my own
choosing rather than the reporter's. The maintainer said so on the issue. This
is the recorded lesson from that round -- reading an issue is not reproducing
it, and neither is reproducing something nearby -- so here is the expression,
character for character:
(-1; 1) /\ (((-(sqrt(33) + 3)) / 6; (sqrt(33) - 3) / 6) \/ (1; +oo))
-> (-1; (sqrt(33) - 3) / 6)
Measured against master: it answers correctly. The inner interval runs from
about -1.457 to about 0.457, so intersecting with (-1; 1) keeps the left part
and the (1; +oo) branch contributes nothing.
Checked by membership as well as by shape -- seven points either side of the
open ends and of the surd endpoint -- so that an equal answer spelled
differently still passes while a wrong one still fails. The surd endpoints are
the point of the issue: the comparison deciding the intersection has to evaluate
them rather than compare them as written.
Test-only; 11 pass.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 9833f0c commit 0607cc9
1 file changed
Lines changed: 75 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
0 commit comments