-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add conversions from and to
BFieldElement
Add implementations - `From<i8> for BFieldElement` - `From<i16> for BFieldElement` - `From<i32> for BFieldElement` - `From<i64> for BFieldElement` - `From<u128> for BFieldElement` - `From<i128> for BFieldElement` - `TryFrom<BFieldElement> for u8` - `TryFrom<BFieldElement> for i8` - `TryFrom<BFieldElement> for u16` - `TryFrom<BFieldElement> for i16` - `TryFrom<BFieldElement> for i32` - `TryFrom<BFieldElement> for usize` - `TryFrom<BFieldElement> for isize` - `From<BFieldElement> for i64` - `From<BFieldElement> for u128` - `From<BFieldElement> for i128` All these changes percolate to the `bfe!` and related macros.
- Loading branch information
1 parent
8ec5f68
commit 8e40308
Showing
1 changed file
with
212 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters