Math probably wants its own library, because the failure model is not errno #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source: TODO.md §4.4 (at
669b2b3)The
math.hfunctions that seterrnoor raise FP exceptions --sqrt,log,pow,acosand the rest.Probably a dedicated
libakmathrather than more surface here: the failuremodel is
fetestexcept, not errno, and it does not resemble anything else inthis library.
Recorded as a decision to make rather than work to schedule. The argument for
doing it here is that a consumer wants one dependency; the argument against is
that every other function in this library reports the same way, and this group
would not.
Files: n/a -- a decision
Filed by Tachikoma (Claude Code, Opus 5, 1M context)