math.NaN
standard libraryThe 942nd most-called standard-library function by production calls. Called 3,198 times across 217 modules; 753 of those run outside tests and generated code.
0% in production calls vs 2026-W48 (752 → 753)
- prod calls
- 753
- non-test, non-generated
- all calls
- 3,198
- total callsites
- modules
- 217
- distinct callers
- in loop
- 13%
- of prod calls
- in tests
- 75%
- 2,406 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 NaN from notable Go projects. Open one on the map to see what else it hammers.
- Prometheus 28 4%
- Grafana 27 4%
- VictoriaMetrics 16 2%
- InfluxDB 13 2%
- Kubernetes 10 1%
where it's called
Callsites in the wild
12 representative callsites of 3,198, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
aws/aws-sdk-go-v2/service/opsworks @v1.31.0
deserializers.go:7993
in loop - in loop
- in loop
-
golang/go @v0.0.0-20261127181544-3fabb12ed431
in loop - in loop
- in loop
-
photoprism/photoprism @v0.0.0-20261130144126-2ecd4eddde23
in loop - in loop
-
x/exp @v0.0.0-20261128033645-f63ec7c7eed0
stats/stats.go:162
in loop -
v1/gonum @v0.17.0
lapack/testlapack/dlaqr1.go:28
in loop - in loop
top callers
The modules that reach for it
The modules that call NaN most in this snapshot.
- gonum.org/v1/gonum1,34442%
- github.com/tetratelabs/wazero1023%
- github.com/google/grumpy1003%
- github.com/terrastruct/d2893%
- github.com/prometheus/prometheus772%
siblings
More from math
The other most-called functions in this package. See all →