mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
big: ZII.
This commit is contained in:
@@ -14,7 +14,7 @@ package big
|
||||
import "core:intrinsics"
|
||||
|
||||
int_is_initialized :: proc(a: ^Int) -> bool {
|
||||
return a != rawptr(uintptr(0));
|
||||
return a != rawptr(uintptr(0)) && a.allocated >= _MIN_DIGIT_COUNT;
|
||||
}
|
||||
|
||||
int_is_zero :: proc(a: ^Int) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user