mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 11:50:07 +00:00
big: Finish log, fix sqr.
This commit is contained in:
@@ -57,14 +57,8 @@ demo :: proc() {
|
||||
a, b, c := &Int{}, &Int{}, &Int{};
|
||||
defer destroy(a, b, c);
|
||||
|
||||
for base in -3..=3 {
|
||||
for power in -3..=3 {
|
||||
err = pow(a, base, power);
|
||||
fmt.printf("err: %v | pow(%v, %v) = ", err, base, power); print("", a, 10);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
err = set(a, 5125);
|
||||
print("a", a);
|
||||
}
|
||||
|
||||
main :: proc() {
|
||||
|
||||
Reference in New Issue
Block a user