Skip to content

Conversation

@tarcieri
Copy link
Member

Support for converting from ConstMontyForm and MontyForm into BoxedMontyForm.

This is useful for SRP where I'm trying to use ConstMontyForm and ConstMontyParams to represent groups as precomputed constants which can be converted to the heap allocated types to perform modpow, which currently isn't impl'd for the stack allocated types.

Sidebar: it would be nice to fix that too.

Support for converting from `ConstMontyForm` and `MontyForm` into
`BoxedMontyForm`.

This is useful for SRP where I'm trying to use `ConstMontyForm` and
`ConstMontyParams` to represent groups as precomputed constants which
can be converted to the heap allocated types to perform `modpow`, which
currently isn't impl'd for the stack allocated types.

Sidebar: it would be nice to fix that too.
@codecov
Copy link

codecov bot commented Jan 14, 2026

Codecov Report

❌ Patch coverage is 0% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.25%. Comparing base (89f888b) to head (6f6a0b1).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/modular/boxed_monty_form/from.rs 0.00% 33 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1099      +/-   ##
==========================================
- Coverage   79.34%   79.25%   -0.09%     
==========================================
  Files         176      177       +1     
  Lines       18058    18076      +18     
==========================================
- Hits        14328    14327       -1     
- Misses       3730     3749      +19     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tarcieri tarcieri merged commit 731e0a7 into master Jan 14, 2026
26 checks passed
@tarcieri tarcieri deleted the boxed-monty-form-from-conversions branch January 14, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants