Skip to content

apfloat raw_mul precompute exponent offset depending on product's upper binade#4429

Draft
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_934175303
Draft

apfloat raw_mul precompute exponent offset depending on product's upper binade#4429
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_934175303

Conversation

@copybara-service

Copy link
Copy Markdown

apfloat raw_mul precompute exponent offset depending on product's upper binade

This change takes logic pertaining to the product's fraction carry over and precomputes as much as possible about the result exponent and special cases depending on whether the product's fraction is in [1.0, 2.0) or [2.0, 4.0), i.e. whether or not it requires carry over handling.

In doing so, we reduce the critical path by removing computation blocked on the multiply

…er binade

This change takes logic pertaining to the product's fraction carry over and precomputes as much as possible about the result exponent and special cases depending on whether the product's fraction is in [1.0, 2.0) or [2.0, 4.0), i.e. whether or not it requires carry over handling.

In doing so, we reduce the critical path by removing computation blocked on the multiply

PiperOrigin-RevId: 934175303
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.

1 participant