func math.Floor
13 uses
math (current package)
floor.go#L13: func Floor(x float64) float64
floor.go#L39: return -Floor(-x)
gamma.go#L145: p := Floor(q)
lgamma.go#L334: z := Floor(x)
math/rand
zipf.go#L68: k = math.Floor(x + 0.5)
github.com/beorn7/perks/quantile
stream.go#L251: math.Max(sample.Delta, math.Floor(s.ƒ(s, r))-1),
github.com/evanw/esbuild/internal/css_parser
css_decls.go#L550: hue -= math.Floor(hue)
github.com/go-git/go-git/v5/plumbing/object
patch.go#L290: adds := strings.Repeat("+", int(math.Floor(addn/scaleFactor)))
patch.go#L291: dels := strings.Repeat("-", int(math.Floor(deln/scaleFactor)))
github.com/jmespath/go-jmespath
functions.go#L468: return math.Floor(val), nil
golang.org/x/exp/rand
zipf.go#L68: k = math.Floor(x + 0.5)
golang.org/x/net/trace
histogram.go#L241: return int64(math.Floor(in + 0.5))
google.golang.org/grpc/credentials/alts/internal/conn
record.go#L263: numOfWrittenFrames := int(math.Floor(float64(nn) / float64(altsRecordDefaultLength)))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |