Skip to content

Commit

Permalink
Update mp_int.h (#108)
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
maths644311798 authored Aug 7, 2023
1 parent a8abf1c commit 0482caa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yacl/math/mpint/mp_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class MPInt {
* > RandomRoundUp
* - Generate 120-bit random numbers with the highest bit being 1.
* > RandomExactBits
* - Generate an exact bit_size random number, the smb is not guaranteed
* - Generate an exact bit_size random number, the msb is not guaranteed
* to be 1.
* > RandomMonicExactBits
* - Generate an exact bit_size random number with the highest bit
Expand Down Expand Up @@ -321,7 +321,7 @@ class MPInt {
//================================//

// if combiner is add, output scalar * base
// if combiner is mul, output scalar ** base
// if combiner is mul, output base ** scalar
// warning: this function is very slow.
template <typename T>
static T SlowCustomPow(
Expand Down

0 comments on commit 0482caa

Please sign in to comment.