-
Notifications
You must be signed in to change notification settings - Fork 73
Comparing changes
Open a pull request
base repository: holiman/uint256
base: v1.2.1
head repository: holiman/uint256
compare: v1.2.2
- 9 commits
- 11 files changed
- 7 contributors
Commits on Dec 29, 2022
-
optimize AddMod where modulus is 4-limbs wide and x/y highest limb is…
… less than or equal to modulus highest limb (#120) * optimize AddMod where modulus is 4-limbs wide and x/y highest limb is lte modulus highest limb * gofmt
Configuration menu - View commit details
-
Copy full SHA for 9c4de98 - Browse repository at this point
Copy the full SHA 9c4de98View commit details
Commits on Feb 8, 2023
-
String conversion from decimal (#108) (#122)
This change adds various string-conversion methods, mainly from decimal. It also aligns some setters, into the following: Public "convenience" constructors FromBig(*big.Int) FromHex(string) FromBase10(string) Instance setters: (z *Int) SetFromBase10(string) (possibly) (z *Int) SetFromBig(*big.Int) (z *Int) SetBytes([]byte) (z *Int) SetString(string, int) Co-authored-by: a <[email protected]> Co-authored-by: Tjudice <[email protected]> Co-authored-by: Martin Holst Swende <[email protected]>Configuration menu - View commit details
-
Copy full SHA for c6c6f8d - Browse repository at this point
Copy the full SHA c6c6f8dView commit details
Commits on Feb 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 557480c - Browse repository at this point
Copy the full SHA 557480cView commit details
Commits on Feb 19, 2023
-
uint256: fix minor nits (#125)
Remove some complains from deepsource, no functional changes
Configuration menu - View commit details
-
Copy full SHA for 89e7a3b - Browse repository at this point
Copy the full SHA 89e7a3bView commit details
Commits on Mar 9, 2023
-
uint256: implement fastssz marshaling interfaces (#126)
Adds support for using uint256 in ssz contexts, by implementing the fastssz Marshaler interface. --------- Co-authored-by: Martin Holst Swende <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 146987f - Browse repository at this point
Copy the full SHA 146987fView commit details
Commits on Mar 16, 2023
-
conversion: optimize
Scan()scientific scanning (#127)This change optimizes the Scan method, by making utilizing seek instead of string-split, adds some test and makes the function alloc-free. --------- Co-authored-by: Martin Holst Swende <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c385c61 - Browse repository at this point
Copy the full SHA c385c61View commit details
Commits on Mar 21, 2023
-
add
MustFromBigfor nicer struct initialization (#128)Add support for MustFromBig for nicer struct initialization. MustFromBig panics if the conversion overflows.
Configuration menu - View commit details
-
Copy full SHA for 87b9142 - Browse repository at this point
Copy the full SHA 87b9142View commit details
Commits on Mar 22, 2023
-
conversion: add
PrettyDec, optimizeDec, add benchmarks and fuzzi……ng (#130) This PR implements the Dec method 'natively', and adds the API-method PrettyDec. // Dec returns the decimal representation of z. func (z *Int) Dec() string // PrettyDec returns the decimal representation of z, with thousands-separators. func (z *Int) PrettyDec(separator byte) string It also adds benchmarks and a new fuzz-test for the changed methods.
Configuration menu - View commit details
-
Copy full SHA for 01ef9cd - Browse repository at this point
Copy the full SHA 01ef9cdView commit details -
implement MustFromHex, MustFromDecimal (#131)
The PR #128 added MustFromBig, this PR adds two similar helpers: MustFromHex and MustFromDecimal. // MustFromHex is a convenience-constructor to create an Int from // a hexadecimal string. // Returns a new Int and panics if any error occurred. func MustFromHex(hex string) *Int // MustFromDecimal is a convenience-constructor to create an Int from a // decimal (base 10) string. // Returns a new Int and panics if any error occurred. func MustFromDecimal(decimal string) *Int
Configuration menu - View commit details
-
Copy full SHA for 29b48c8 - Browse repository at this point
Copy the full SHA 29b48c8View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.2.1...v1.2.2