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

kaidokert / fixed-bigint-rs / 29697383625
97%

Build:
DEFAULT BRANCH: main
Ran 19 Jul 2026 05:43PM UTC
Jobs 1
Files 47
Run time 1min
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

19 Jul 2026 05:43PM UTC coverage: 97.818% (-0.07%) from 97.889%
29697383625

push

github

web-flow
Complete num_traits::PrimInt for HeaplessBigInt (+ pow family) (#154)

* Complete num_traits::PrimInt for HeaplessBigInt (+ pow family)

Adds pow and num_traits::PrimInt, with the const_num_traits parallels, and
fills a bridge gap PrimInt exposed.

- pow.rs: inherent `pow` (square-and-multiply via the panicking Nct Mul,
  panics on overflow like std) with a shared `pow_impl` kernel, plus the
  const_num_traits `CheckedPow` (None on overflow) and `StrictPow` (panics).
- prim_int.rs: num_traits::PrimInt (Nct), a thin bridge — the bit-ops delegate
  to const_num_traits::PrimBits and pow to pow_impl, so no logic is duplicated.
  reverse_bits is overridden to PrimBits (the num_traits default reverses via
  shifts, and heapless's width-narrowing Shr makes it collapse to zero — caught
  by the generic parity test).
- arith.rs: num_traits CheckedAdd/CheckedSub/CheckedMul bridges (Nct) —
  PrimInt supertraits that heapless had only in the const_num_traits form.

Everything is value-width: pow at len k raises like FixedUInt<k>; overflow is
at the operand width, not CAP.

105 of 120 new or added lines in 3 files covered. (87.5%)

4752 of 4858 relevant lines covered (97.82%)

6003.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
96.45
-2.1% src/heapless/arith.rs
6
88.24
src/heapless/prim_int.rs
Jobs
ID Job ID Ran Files Coverage
1 29697383625.1 19 Jul 2026 05:43PM UTC 47
97.82
GitHub Action Run
Source Files on build 29697383625
  • Tree
  • List 47
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29697383625
  • 6acdc104 on github
  • Prev Build on main (#29697162226)
  • Next Build on main (#29698197019)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc