Skip to content

Fix bias vs unbiased return in logb and ilogb - #1439

Merged
mborland merged 2 commits into
developfrom
1437
Aug 29, 2026
Merged

Fix bias vs unbiased return in logb and ilogb#1439
mborland merged 2 commits into
developfrom
1437

Conversation

@mborland

Copy link
Copy Markdown
Member

Closes: #1437

@mborland mborland added the Bug Something isn't working label Aug 29, 2026
@codecov

codecov Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.4%. Comparing base (012248c) to head (168117b).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #1439     +/-   ##
=========================================
+ Coverage     98.3%   98.4%   +0.1%     
=========================================
  Files          295     296      +1     
  Lines        24642   24678     +36     
  Branches      2147    2148      +1     
=========================================
+ Hits         24223   24263     +40     
+ Misses         419     415      -4     
Files with missing lines Coverage Δ
include/boost/decimal/detail/cmath/ilogb.hpp 100.0% <100.0%> (ø)
include/boost/decimal/detail/cmath/logb.hpp 100.0% <100.0%> (+27.3%) ⬆️
test/github_issue_1437.cpp 100.0% <100.0%> (ø)
test/test_cmath.cpp 100.0% <100.0%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 012248c...168117b. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mborland
mborland merged commit 9236c90 into develop Aug 29, 2026
84 checks passed
@mborland
mborland deleted the 1437 branch August 29, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

logb(1E-3) should be -3

1 participant