mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
bigint: log_n for bases that fit within one DIGIT or are a power of two.
This commit is contained in:
@@ -76,7 +76,7 @@ demo :: proc() {
|
||||
fmt.printf("c: %v, bits: %v\n", cs, count_bits(c));
|
||||
delete(as); delete(bs); delete(cs);
|
||||
|
||||
fmt.println("log2:", log_n(a, 8));
|
||||
fmt.println("radix_size:", radix_size(a, 10));
|
||||
}
|
||||
|
||||
main :: proc() {
|
||||
|
||||
Reference in New Issue
Block a user