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

philihp / pcg / 26136626245
99%
main: 100%

Build:
Build:
LAST BUILD BRANCH: claude/jolly-cannon-fmLjD
DEFAULT BRANCH: main
Ran 20 May 2026 02:00AM UTC
Jobs 1
Files 7
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

20 May 2026 01:59AM UTC coverage: 99.06% (-0.9%) from 100.0%
26136626245

Pull #336

github

claude
refactor!: make BigInt-free PCG32 the default; suffix BigInt path with 64

The number-based fast variant is now the default API: createPcg32,
nextState, prevState, stepState, getOutput, randomInt, randomUint32,
randomList, plus the Pcg32 and RandomFn types.

The original BigInt-backed implementation is renamed to createPcg64
(plus nextState64, prevState64, stepState64, getOutput64, randomInt64,
randomList64, PCGState64, RandomFn64, CreatePcg64) and remains the
only path for non-default stream schemes (ONESEQ, MCG) and output
functions (XSH_RS, XSL_RR, RXS_M_XS).

src/fast.ts renamed to src/pcg32.ts. createPcg32 in tests was renamed
to createPcg64 throughout; old fast.test.ts renamed to pcg32.test.ts.

BREAKING: createPcg32(opts, state, streamId) -> createPcg32(state, streamId).
Callers using stream schemes or non-default output fns should migrate
to createPcg64. randomInt/randomList curried partial-application forms
are only available on the createPcg64 path.
Pull Request #336: refactor!: make BigInt-free PCG32 the default; suffix BigInt path with 64

51 of 54 branches covered (94.44%)

Branch coverage included in aggregate %.

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

265 of 265 relevant lines covered (100.0%)

6370.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26136626245.1 20 May 2026 02:00AM UTC 7
99.06
GitHub Action Run
Source Files on build 26136626245
  • Tree
  • List 7
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #336
  • PR Base - main (#26066426780)
  • Delete
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