Skip to content
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

feat(math): add baby and koala bear fields #405

Merged
merged 8 commits into from
May 8, 2024

Conversation

chokobole
Copy link
Contributor

Description

This PR adds baby bear and koala bear prime fields.

@chokobole chokobole force-pushed the feat/add-baby-and-koala-bear-fields branch 3 times, most recently from a2a5225 to ed4c61b Compare April 30, 2024 06:08
@chokobole chokobole marked this pull request as ready for review April 30, 2024 06:08
tachyon/math/finite_fields/packed_prime_field32_avx2.h Outdated Show resolved Hide resolved
tachyon/math/finite_fields/packed_prime_field32_avx512.h Outdated Show resolved Hide resolved
tachyon/math/finite_fields/packed_prime_field32_avx2.h Outdated Show resolved Hide resolved
tachyon/math/finite_fields/packed_prime_field32_avx2.h Outdated Show resolved Hide resolved
tachyon/math/finite_fields/packed_prime_field32_avx2.h Outdated Show resolved Hide resolved
tachyon/math/finite_fields/packed_prime_field32_neon.h Outdated Show resolved Hide resolved
tachyon/math/finite_fields/packed_prime_field32_neon.h Outdated Show resolved Hide resolved
tachyon/math/finite_fields/packed_prime_field32_neon.h Outdated Show resolved Hide resolved
@chokobole chokobole force-pushed the feat/add-baby-and-koala-bear-fields branch 2 times, most recently from 8e1026e to e78c839 Compare May 2, 2024 11:31
Copy link
Contributor

@Insun35 Insun35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dongchangYoo
Copy link
Contributor

In commit body of 8df7697, typo exists. Please fix whre to where

Copy link
Contributor

@TomTaehoonKim TomTaehoonKim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chokobole chokobole force-pushed the feat/add-baby-and-koala-bear-fields branch from e78c839 to 79fa9f0 Compare May 7, 2024 12:21
Copy link
Contributor

@ashjeong ashjeong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the commit title and body of 8df7697 as such:

chore(math): update comments to contain montgomery form & fix minor errors
For the 31-bit prime field, the montgomery form is a * R, where R is 2³² , so value a can be in the range {0, ..., p}, where p is the modulus. The
comments are also updated to handle this case.

Additionally, this commit also contains minor fixes, such as changing P
to p and removing commas and periods.

@chokobole chokobole force-pushed the feat/add-baby-and-koala-bear-fields branch 2 times, most recently from c1648d4 to f9313a2 Compare May 8, 2024 06:15
ashjeong

This comment was marked as resolved.

@chokobole chokobole force-pushed the feat/add-baby-and-koala-bear-fields branch from f9313a2 to fd9f1dd Compare May 8, 2024 06:46
@chokobole chokobole force-pushed the feat/add-baby-and-koala-bear-fields branch from fd9f1dd to 8281077 Compare May 8, 2024 06:46
Copy link
Contributor

@ashjeong ashjeong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@dongchangYoo dongchangYoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dongchangYoo dongchangYoo merged commit 1f53b0c into main May 8, 2024
3 checks passed
@dongchangYoo dongchangYoo deleted the feat/add-baby-and-koala-bear-fields branch May 8, 2024 07:37
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.

None yet

5 participants