Improve big integer tests, fix bugs, add quick digit multiplication

This commit is contained in:
2024-06-21 23:14:14 +03:00
parent 4c77ce8fe3
commit 87b34d57be
4 changed files with 831 additions and 232 deletions

View File

@@ -84,6 +84,10 @@ int bh_bigint_mul(bh_bigint_t *to,
bh_bigint_t *left,
bh_bigint_t *right);
int bh_bigint_mul_digit(bh_bigint_t *to,
bh_bigint_t *left,
bh_int16_t right);
int bh_bigint_pow(bh_bigint_t *to,
bh_bigint_t *from,
bh_uint32_t power);

View File

@@ -4,4 +4,5 @@
#include <bh/bh.h>
#include <bh/internal/config.h>
#endif /* BH_INTERNAL_H */
#endif /* BH_INTERNAL_H */