Fast digit count (integer log10)
Posted: Wed Feb 28, 2024 9:53 pm
Attached are a couple of functions that quickly count the number of decimal digits in an integer (32- and 64-bit versions).
Cheers,
Randy Hyde
Cheers,
Randy Hyde
Books•Software•Electronics•Fun
https://randallhyde.com/Forum/