mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
feat(big): add SBigIsOdd
This commit is contained in:
parent
6759cb4d7c
commit
9074869097
5 changed files with 35 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue