mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
big: Squashed shl1 bug when a larger dest was reused for a smaller result.
This commit is contained in:
@@ -253,7 +253,7 @@ int_sqrt :: proc(dest, src: ^Int) -> (err: Error) {
|
||||
swap(dest, x);
|
||||
return err;
|
||||
} else {
|
||||
// return root_n(dest, src, 2);
|
||||
return root_n(dest, src, 2);
|
||||
}
|
||||
}
|
||||
sqrt :: proc { int_sqrt, };
|
||||
|
||||
Reference in New Issue
Block a user