math.Round
standard libraryThe 820th most-called standard-library function by production calls. Called 1,000 times across 191 modules; 835 of those run outside tests and generated code.
27% in production calls vs 2026-W37 (659 → 835)
- prod calls
- 835
- non-test, non-generated
- all calls
- 1,000
- total callsites
- modules
- 191
- distinct callers
- in loop
- 19%
- of prod calls
- in tests
- 16%
- 159 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Round from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 29 3%
- MinIO 18 2%
- Grafana 16 2%
- Docker 12 1%
- CockroachDB 10 1%
where it's called
Callsites in the wild
12 representative callsites of 1,000, prioritizing in-loop and non-test usage. We link to source, never display it.
-
charm.land/catwalk @v0.52.48
cmd/ionet/main.go:83
in loop -
lipgloss/v2 @v2.0.6
position.go:70
in loop - in loop
- in loop
-
charmbracelet/lipgloss @v1.1.0
in loop -
charmbracelet/ultraviolet @v0.0.0-20260910203606-6c9e17dc7a16
in loop -
charmbracelet/vhs @v0.12.0
in loop - in loop
-
ehang-io/nps @v0.26.10
in loop - in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Round most in this snapshot.
- github.com/terrastruct/d222523%
- github.com/photoprism/photoprism475%
- github.com/hajimehoshi/ebiten/v2263%
- charm.land/catwalk232%
- github.com/navidrome/navidrome192%
siblings
More from math
The other most-called functions in this package. See all →