Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FastUint32Log10 ¶
FastUint32Log10 computes the integer base-10 logarithm of v, that is, the number of decimal digits in v minus one. The function is not well-defiend for v == 0.
func FastUint64Log10 ¶
FastUint64Log10 computes the integer base-10 logarithm of v, that is, the number of decimal digits in v minus one. The function is not well-defiend for v == 0.
func NumInt32DecimalDigits ¶
NumInt32DecimalDigits returns the number of decimal digits in n (excluding the negative sign, if any). 0 is considered to have one digit.
func NumInt64DecimalDigits ¶
NumInt64DecimalDigits returns the number of decimal digits in n (excluding the negative sign, if any). 0 is considered to have one digit.
func NumUint32DecimalDigits ¶
NumUint32DecimalDigits returns the number of decimal digits in n (excluding the negative sign, if any). 0 is considered to have one digit.
func NumUint64DecimalDigits ¶
NumUint64DecimalDigits returns the number of decimal digits in n (excluding the negative sign, if any). 0 is considered to have one digit.
Types ¶
This section is empty.