Skip to content

Commit 689fd01

Browse files
A fix for an approximation quirk before v3 links the decision that removes it (#2169)
On #2139 the maintainer asked that fixes for approximation quirks made before v3 be simplified away for v3. v3 removes downcasting (#1019, comment 5754734225), and with it the behaviour those fixes work around. For that to happen, the fixes have to be findable, so AGENTS.md asks each one to link the decision in its comment and in its test. A search for the comment id then lists them. Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 9326683 commit 689fd01

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ wherever the input was exact, and interval arithmetic for what is genuinely appr
5555
shape of the answer, and they are queued for v3 in
5656
[#1019](https://github.com/asc-community/AngouriMath/issues/1019).
5757

58+
**A fix for an approximation quirk before v3 is temporary, and it says so.** v3 removes
59+
downcasting ([#1019](https://github.com/asc-community/AngouriMath/issues/1019#issuecomment-5754734225)).
60+
With it go the decimal answers, the rounding onto rationals and the residuals taken as zero that
61+
such a fix works around. These fixes are to be simplified away for v3
62+
([#2139](https://github.com/asc-community/AngouriMath/issues/2139#issuecomment-6443699564)). So
63+
each one links that decision in its comment and in the test that pins it, and a search for
64+
`5754734225` lists what v3 has to take back out.
65+
5866
## Not answering is a legitimate answer. Answering wrongly is not.
5967

6068
The most important distinction in this codebase:

0 commit comments

Comments
 (0)