feat(big): add SBigIsZero

This commit is contained in:
Adam Heinermann 2024-11-15 08:38:56 -08:00 committed by superp00t
parent c9826d2336
commit 1cad63b7f2
5 changed files with 33 additions and 0 deletions

View file

@ -81,6 +81,10 @@ int32_t SBigIsOne(BigData* a) {
return IsOne(a->Primary());
}
int32_t SBigIsZero(BigData* a) {
return IsZero(a->Primary());
}
void SBigMod(BigData* a, BigData* b, BigData* c) {
uint32_t allocCount = 0;
auto& scratch = a->Stack().Alloc(&allocCount);