time tests

This commit is contained in:
Nikita Smith committed 2026-04-20 10:39:50 -07:00
1 parent 9e19fe5193
commit cd4f81d473
4 files changed
+55 -17

No files matched your search

+9
View File
@@ -714,6 +714,15 @@ index_of_zero_u64(U64 *ptr, U64 count)
return max_U64;
}
internal U64
count_digits_u64(U64 v, U64 radix)
{
if (v == 0) { return 1; }
U64 count = 0;
for (U64 x = v; x > 0; x /= radix) { count += 1; }
return count;
}
////////////////////////////////
//~ rjf: Third Party Includes