feat(big): add SBigIsOdd

This commit is contained in:
Adam Heinermann 2024-11-15 08:31:27 -08:00 committed by superp00t
parent 6759cb4d7c
commit 9074869097
5 changed files with 35 additions and 0 deletions

View file

@ -73,6 +73,10 @@ int32_t SBigIsEven(BigData* a) {
return IsEven(a->Primary());
}
int32_t SBigIsOdd(BigData* a) {
return IsOdd(a->Primary());
}
void SBigMod(BigData* a, BigData* b, BigData* c) {
uint32_t allocCount = 0;
auto& scratch = a->Stack().Alloc(&allocCount);