Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimatedDigitsInt32 ¶
EstimatedDigitsInt32 returns the estimated number of digits required to represent value with base 10. The returned estimation should always be >= that the actual number of digits, but never lower.
func EstimatedDigitsInt64 ¶
EstimatedDigitsInt64 returns the estimated number of digits required to represent value with base 10. The returned estimation should always be >= that the actual number of digits, but never lower.
func Max ¶
func Max[T constraints.Ordered](a, b T) T
Max returns the maximum of two ordered arguments.
func Min ¶
func Min[T constraints.Ordered](a, b T) T
Min returns the minimum of two ordered arguments.
Types ¶
Click to show internal directories.
Click to hide internal directories.