refactor(exact): encode nonzero mantissas in exact decomposition#130
Conversation
- Replace the exact-arithmetic zero mantissa sentinel with `Option<NonZeroU64>`. - Carry nonzero mantissa proof through matrix/vector decomposition and BigInt scaling. - Clarify determinant documentation around uncertified `det()` bounds. - Keep SPD determinant proptests on the tolerance-aware LU path. Closes #120
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR refactors exact arithmetic mantissa representation from raw ChangesExact Arithmetic NonZero Mantissa Refactoring and Determinant Behavior Clarification
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #130 +/- ##
=======================================
Coverage 99.55% 99.56%
=======================================
Files 5 5
Lines 2497 2517 +20
=======================================
+ Hits 2486 2506 +20
Misses 11 11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Option<NonZeroU64>.det()bounds.Closes #120
Summary by CodeRabbit
Documentation
Matrix::det()behavior documentation regarding singularity detection and fallback logicRefactor
Tests