Documentation
¶
Index ¶
- func FmtFloat(val float64) string
- func FmtFloatExponentiation(val float64) string
- func FmtFloatWithPrecision(val float64, precision int) string
- func FmtInt(val int) string
- func IntSize() int
- func Median(vals []float64) (float64, error)
- func ParseFloat(val string, sz int) (float64, error)
- func ParseInt(val string) int64
- func PercentDiff(val1, val2 float64) float64
- func Percentile(vals []float64, percentile float64) (float64, error)
- func Round(x, unit float64) float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FmtFloatExponentiation ¶
FmtFloatExponentiation formats float using exponentiation to string
func FmtFloatWithPrecision ¶
FmtFloatWithPrecision formats a float to precision to string
func PercentDiff ¶
PercentDiff percentage difference between 2 values
func Percentile ¶
Percentile returns percentile rounded to 4 positions after decimal
i.e. Median percentile = .5 90th Percentile = .90 99th Percentile = .99
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.