Skip to content

doloopwhile/go-fastlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-fastlog

Simple and fast Log10 implementation for uint64.

It might be useful to calculate width of number as decimal.

func Log10

func Log10(n uint64) int

Log returns the decimal logarithm of n. Log10(0) = 0 as a special case.

Log10 must very faster than math.Log10 in the standard library.

About

Simple and fast log10 for integer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages