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
Fast digit count (integer log10)
Fast digit count (integer log10)
- Attachments
-
- Listing9-2.zip
- 64-bit version
- (20.09 KiB) Downloaded 162 times
-
- Listing9-1.zip
- 32-bit version
- (13.15 KiB) Downloaded 167 times