Skip to content

add addition kernels#110

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_916999865
Open

add addition kernels#110
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_916999865

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented May 18, 2026

add addition kernels

It is worth noting that cross uses three distinct addition kernels: one when no reduction is needed (and this is guaranteed), one when barrett reduction is needed, and one when a simpler subtraction-based reduction can be used because the sum is known to exceed the modulus, but not to overflow the underlying data type.

@copybara-service copybara-service Bot force-pushed the test_916999865 branch 3 times, most recently from f2961e8 to c65dc2e Compare May 26, 2026 21:11
It is worth noting that cross uses three distinct addition kernels: one when no reduction is needed (and this is guaranteed), one when barrett reduction is needed, and one when a simpler subtraction-based reduction can be used because the sum is known to exceed the modulus, but not to overflow the underlying data type.

PiperOrigin-RevId: 916999865
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