mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-18 04:00:12 -08:00
time tests
This commit is contained in:
1 parent
9e19fe5193
commit
cd4f81d473
4 files changed
+55
-17
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user