Improve big integer tests, fix bugs, add quick digit multiplication
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -4,4 +4,5 @@
|
||||
#include <bh/bh.h>
|
||||
#include <bh/internal/config.h>
|
||||
|
||||
#endif /* BH_INTERNAL_H */
|
||||
#endif /* BH_INTERNAL_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user