8000 [dslx] Add a new `apfloat::full_precision_mul` function by copybara-service[bot] · Pull Request #2518 · google/xls · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[dslx] Add a new apfloat::full_precision_mul function #2518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

copybara-service[bot]
Copy link

[dslx] Add a new apfloat::full_precision_mul function

This returns the result of multiplying two APFloats with no rounding, and is (currently) slightly more efficient than apfloat::mul with both inputs upcast to the point where the result will not require rounding. It shares logic with mul_no_round, but flushes subnormals.

@meheff
Copy link
Collaborator
meheff commented Jul 1, 2025

@cdleary FYI

This returns the result of multiplying two APFloats with no rounding, and is (currently) slightly more efficient than `apfloat::mul` with both inputs upcast to the point where the result will not require rounding. It shares logic with `mul_no_round`, but flushes subnormals.

PiperOrigin-RevId: 778231679
@copybara-service copybara-service bot merged commit 407b48b into main Jul 1, 2025
@copybara-service copybara-service bot deleted the test_774831032 branch July 1, 2025 23:22
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.

2 participants
0