FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[release/9.0-staging] Fix ILogB for subnormal values by github-actions[bot] · Pull Request #116973 · dotnet/runtime · GitHub

Repository navigation

[release/9.0-staging] Fix ILogB for subnormal values - #116973

Merged
tannergooding merged 2 commits into
release/9.0-stagingfrom
backport/pr-116913-to-release/9.0-staging
Jul 10, 2025
Merged

tannergooding merged 2 commits into
release/9.0-stagingfrom
backport/pr-116913-to-release/9.0-staging

Conversation

github-actions Bot commented Jun 24, 2025 •
edited by tannergooding
Loading

Copy link
Copy Markdown
Contributor

Backport of #116913 to release/9.0-staging

/cc @jeffhandley @huoyaoyuan

Customer Impact

Customers calling ILogB for certain subnormal values will get incorrect results.

Regression

  • Yes
  • No

This was introduced in #98040 as part of a general performance refactoring. The ilogb algorithm was ported from amd/aocl-libm-ose and a while loop was ported to TrailingZeroCount when it should've used LeadingZeroCount instead.

Testing

Explicit regression tests were added and validated against the native C libm implementation.

Risk

Low. This is a small fix for an edge case that is not found in typical code.

Copy link
Copy Markdown
Member

@tannergooding Can you help to fill the description for backport? I don't have permission to edit pull requests.

tannergooding added Servicing-consider Issue for next servicing release review area-System.Numerics labels Jun 30, 2025

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

rbhanda added this to the 9.0.8 milestone Jul 1, 2025
rbhanda added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Jul 1, 2025

tarekgh commented Jul 10, 2025

Copy link
Copy Markdown
Member

Are we good to merge this?

Just reminder Code-complete is 14-Jul 4pm PT cut-off

tannergooding merged commit a2c3690 into release/9.0-staging Jul 10, 2025
jkotas deleted the backport/pr-116913-to-release/9.0-staging branch July 20, 2025 00:07
This was referenced Aug 5, 2025
This was referenced Aug 19, 2025
github-actions Bot locked and limited conversation to collaborators Aug 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Numerics Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL