MCPcopy
hub / github.com/git-lfs/git-lfs / log

Function log

tools/humanize/humanize.go:168–170  ·  view source on GitHub ↗

log takes the log base "b" of "n" (\log_b{n})

(n, b float64)

Source from the content-addressed store, hash-verified

166
167// log takes the log base "b" of "n" (\log_b{n})
168func log(n, b float64) float64 {
169 return math.Log(n) / math.Log(b)
170}

Callers 2

FormatBytesFunction · 0.70
FormatByteRateFunction · 0.70

Calls 1

LogMethod · 0.80

Tested by

no test coverage detected