-
Notifications
You must be signed in to change notification settings - Fork 224
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 circle point initially #387
Conversation
11ebd2e
to
1bfc852
Compare
3f516c0
to
6524c11
Compare
6524c11
to
b3e8de9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…dilocks` Previously, `Goldilocks::FromMontgomery()` behaved differently depending on the value of `USE_MONTGOMERY`. This update standardizes the behavior as follows: when `USE_MONTGOMERY == 1`, no conversion is called, and when `USE_MONTGOMERY != 1`, `::Goldilocks::from_montgomery()` is called. This ensures that Montgomery conversion is invoked at most once, optimizing performance.
b3e8de9
to
218c028
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tachyon/math/finite_fields/generator/prime_field_generator/config.h.tpl
Outdated
Show resolved
Hide resolved
This feature introduces a new class for prime fields with less than 32-bit 1 limb. Instances of this class utilize a custom reduction method, distinct from Montgomery reduction, to accommodate their smaller size.
Since "absl/strings/str_replace.h" is included in the generator, it adds "@com_google_absl//absl/strings" to the dependencies explicitly, too.
218c028
to
9076f80
Compare
…tion Additionally, this corrects a comment referring to the section in the research paper. See https://github.com/arkworks-rs/algebra/blob/97c7a4f4e8f5e297e397f6de09fe4764068deac0/ff/src/fields/models/fp4.rs#L11 and https://github.com/arkworks-rs/algebra/blob/97c7a4f4e8f5e297e397f6de09fe4764068deac0/ff/src/fields/models/fp12_2over3over2.rs#L19.
9076f80
to
7bbe48f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Since #387, `Mersenne31` is instantiated with `small_prime_field_generic.h` and all the mathematical methods become constexpr.
Since #387, `Mersenne31` is instantiated with `small_prime_field_generic.h` and all the mathematical methods become constexpr.
Since #387, `Mersenne31` is instantiated with `small_prime_field_generic.h` and all the mathematical methods become constexpr.
Since #387, `Mersenne31` is instantiated with `small_prime_field_generic.h` and all the mathematical methods become constexpr.
Since #387, `Mersenne31` is instantiated with `small_prime_field_generic.h` and all the mathematical methods become constexpr.
Since #387, `Mersenne31` is instantiated with `small_prime_field_generic.h` and all the mathematical methods become constexpr.
Since #387, `Mersenne31` is instantiated with `small_prime_field_generic.h` and all the mathematical methods become constexpr.
Since #387, `Mersenne31` is instantiated with `small_prime_field_generic.h` and all the mathematical methods become constexpr.
Description
This PR adds
CirclePoint
andCirclePointIndex
initially for CircleSTARK.