IntSquare
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Int.c:1531:
}
bool IntSquare(Int *result, const Int *value) {
return int_mul(result, value, value);
}- In
Int.c:1581:
exponent >>= 1u;
if (exponent > 0) {
if (!IntSquare(&scratch, ¤t)) {
IntDeinit(&acc);
IntDeinit(¤t);- In
Math.c:302:
bool test_int_square(void) {
WriteFmt("Testing IntSquare\n");
DefaultAllocator alloc = DefaultAllocatorInit();- In
Math.c:309:
Int result_value = IntInit(&alloc.base);
IntSquare(&result_value, &value);
bool result = IntToU64(&result_value) == 152399025;
Last updated on