Repository navigation
Mutation coverage: IMPL-log10Reduce - #465
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 47 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@coderabbitai assess this PR size classification for the totality of the PR with the following criterias and report it in your comment: S/M/L PR Classification Guidelines:This guide helps classify merged pull requests by effort and complexity rather than just line count. The goal is to assess the difficulty and scope of changes after they have been completed. Small (S)Characteristics:
Review Effort: Would have taken 5-10 minutes Examples:
Medium (M)Characteristics:
Review Effort: Would have taken 15-30 minutes Examples:
Large (L)Characteristics:
Review Effort: Would have taken 45+ minutes Examples:
Additional Factors to ConsiderWhen deciding between sizes, also consider:
Notes:
|
Keeps both #465's and this PR's log10Reduce tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds exact-oracle tests for the first third of
LibDecimalFloatImplementation.log10Reduce(range check plus steps 1-4).testLog10ReduceOneStepExamplesholds fixed examples that each take one step i in [1, 4]. Each one sits where a reciprocal off by one, or a dropped borrow in the high-word extraction, moves the floor. The expected quotients are floor(x K / 2^256) frombc. K = 2^256 / 10^(2^-i) is rounded to nearest and derived independently withbc -lat scale 200.testLog10ReduceOneStepfuzzes the same rule over a 1e69-wide window above each threshold, checked againstLibExactFloat.mul's schoolbook 512-bit product.QA
bc, independent of the library, and the fuzz test uses LibExactFloat's schoolbook 512-bit multiply.🤖 Generated with Claude Code