• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kaidokert / modmath-rs / 22271885342 / 1
98%
main: 98%

Build:
DEFAULT BRANCH: main
Ran 22 Feb 2026 06:20AM UTC
Files 10
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Feb 2026 06:19AM UTC coverage: 99.301% (+1.2%) from 98.053%
22271885342.1

push

github

web-flow
Consolidate strict code (#8)

* Apply bitmask optimization and Hensel canonicalization across all variants
Port strict_mont.rs improvements to basic and constrained:
- from_montgomery: use & mask instead of % r, add r_bits==0 guard
- Hensel lifting: canonicalize N' to [0, R)
- constrained mod_exp: use & one for parity, skip trailing square

* Address review feedback: fix comments, remove dead canonicalization
- r_bits==0 comment: clarify it's a fast path for R=1, not underflow avoidance
- Hensel N' canonicalization: remove dead code (n_prime is already in [0,R)
  after lifting, and % r / < zero() is unreachable for unsigned types)
* Remove stale Rem bounds from strict_from_montgomery, fix test name
- strict_from_montgomery no longer uses % or %=, drop Rem/RemAssign bounds
- Rename overflow_prevention test to large_modulus, clarify limitations
- montgomery_mul: document O(k) mod_mul defeating performance purpose
- from_montgomery: document m*N overflow risk at key sizes
- Both fixed in Phase 1 with WideningMul (see ROADMAP.md)
- Fix misleading test comment about default NPrimeMethod

3125 of 3147 relevant lines covered (99.3%)

756.57 hits per line

Source Files on job 22271885342.1
  • Tree
  • List 10
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22271885342
  • 057359f0 on github
  • Prev Job for on main (#22269459462.1)
  • Next Job for on main (#22286955813.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc