Skip to content

Use qnan helper for NaN results in apfloat fma. - #5440

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1023866036
Nov 17, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1023866036

Conversation

@copybara-service

Copy link
Copy Markdown

Use qnan helper for NaN results in apfloat fma.

Replaces the manual construction of NaN values with the standard qnan helper function in apfloat::fma and updates test expectations accordingly.

Fixes: #5417

@copybara-service
copybara-service Bot force-pushed the test_1023866036 branch 2 times, most recently from 841ef76 to b3e73c2 Compare November 17, 2026 19:40
Replaces the manual construction of NaN values with the standard `qnan` helper function in `apfloat::fma` and updates test expectations accordingly.

Fixes: #5417
PiperOrigin-RevId: 1024083486
@copybara-service
copybara-service Bot merged commit dcb53d7 into main Nov 17, 2026
7 checks passed
@copybara-service
copybara-service Bot deleted the test_1023866036 branch November 17, 2026 23:07

This branch was previously deployed

1 inactive deployment
github-pages — dcb53d79 Deployed Nov 17, 2026 by copybara-service[bot] via deploy #14555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

apfloat::fma returns infinity or a non-canonical NaN where the result is NaN

1 participant