feat: self-host compositional math helpers - #30
Conversation
vycdev
left a comment
There was a problem hiding this comment.
The implementation and regression coverage look good, but this closes #28 without recording the completed extraction in the project docs. AGENTS.md requires docs/design.md and docs/architecture.md to stay aligned with stdlib changes, and after PR #29 the progress rows will still describe this work as merely “tracked by #28.” Please update the relevant progress/design documentation to say which math helpers are now source-defined in stdlib/math.jett and which remain primitive Rust kernels.
34e1db5 to
a67ebb7
Compare
|
Addressed the stdlib documentation feedback. Rebased the topic branch onto current Verification: This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying. |
Summary
math.is_even,math.is_odd,math.sign,math.to_radians, andmath.to_degreesas exported compiler-shipped.jettfunctionsmath.modandmath.pias primitive kernelsstdlib/math.jett, and rename generic fixtures that previously occupied the now compiler-ownedmathnamespaceVerification
cargo test -q -p jett_driver math_— passed: 1 unit test and 13 matching fixture testscargo fmt --check— passedcargo build— passedcargo test -q— passed: full workspace suitegit diff --check— passedRisk
Closes #28
This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.