Skip to content

Commit

Permalink
Update tommath_ext_types.h
Browse files Browse the repository at this point in the history
  • Loading branch information
usafchn authored Dec 27, 2023
1 parent eae0c9e commit f6ded46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yacl/math/mpint/tommath_ext_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "yacl/base/int128.h"

#define MP_BITS_TO_DIGITS(bits) ((bits) + MP_DIGIT_BIT - 1) / MP_DIGIT_BIT
#define MP_BYTES_TO_DIGITS(bytes) MP_BITS_TO_DIGITS((bytes)*CHAR_BIT)
#define MP_BYTES_TO_DIGITS(bytes) MP_BITS_TO_DIGITS((bytes) * CHAR_BIT)

void mpx_init(mp_int *a);
void mpx_reserve(mp_int *a, size_t n_digits);
Expand Down

0 comments on commit f6ded46

Please sign in to comment.