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

kaidokert / fixed-bigint-rs / 29695007441
97%

Build:
DEFAULT BRANCH: main
Ran 19 Jul 2026 04:31PM UTC
Jobs 1
Files 45
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 04:30PM UTC coverage: 97.889% (+0.06%) from 97.833%
29695007441

push

github

web-flow
Display/hex/FromStr/Num for HeaplessBigInt (string surface) (#153)

* Add Display/LowerHex/UpperHex/FromStr/Num to HeaplessBigInt

The string/parse surface, Nct-only, over the value width (len) — the last
num_traits::PrimInt blocker (Num / from_str_radix).

- Display / LowerHex / UpperHex: feature-independent. Digit extraction goes
  through the MachineWord const_num_traits::ToPrimitive supertrait (like
  FixedUInt's to_radix_str), not num_traits, so a heapless bignum is printable
  without opting into num-traits. Hex mirrors FixedUInt (MSB-first, leading-
  zero suppression; zero renders empty, Display special-cases it to "0").
- Num (from_str_radix) / FromStr: gated behind num-traits, reusing FixedUInt's
  ParseIntError constructors (now pub(crate)).
- Inherent div_rem exposed on the Nct carrier (closes a parity gap; Display
  uses it).

Width subtlety: from_str_radix accumulates at CAP width (ret widened up front),
not the minimal width of the intermediate from(digit) values — otherwise
ret*radix+digit would overflow at a single word instead of the carrier's
capacity. That matches FixedUInt<T, CAP>, whose parse width is its N.

79 of 79 new or added lines in 3 files covered. (100.0%)

4637 of 4737 relevant lines covered (97.89%)

6149.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29695007441.1 19 Jul 2026 04:31PM UTC 45
97.89
GitHub Action Run
Source Files on build 29695007441
  • Tree
  • List 45
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29695007441
  • 169b61b5 on github
  • Prev Build on main (#29693523494)
  • Next Build on main (#29697162226)
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