Add big integer function to quickly generate power of 10 number

This commit is contained in:
2024-06-24 21:31:18 +03:00
parent a99724e934
commit d0cd2c4697
2 changed files with 132 additions and 0 deletions

View File

@@ -92,6 +92,9 @@ int bh_bigint_pow(bh_bigint_t *to,
bh_bigint_t *from,
bh_uint32_t power);
int bh_bigint_pow10(bh_bigint_t *to,
bh_uint32_t power);
int bh_bigint_powm(bh_bigint_t *to,
bh_bigint_t *left,
bh_bigint_t *right,