math.Inf
standard libraryThe 828th most-called standard-library function by production calls. Called 4,323 times across 229 modules; 820 of those run outside tests and generated code.
- prod calls
- 820
- non-test, non-generated
- all calls
- 4,323
- total callsites
- modules
- 229
- distinct callers
- in loop
- 9%
- of prod calls
- in tests
- 67%
- 2,914 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 Inf from notable Go projects. Open one on the map to see what else it hammers.
- Prometheus 44 5%
- Grafana 28 3%
- VictoriaMetrics 25 3%
- Kubernetes 22 3%
- Protocol Buffers 12 1%
where it's called
Callsites in the wild
12 representative callsites of 4,323, prioritizing in-loop and non-test usage. We link to source, never display it.
-
aws/aws-sdk-go-v2/service/apigateway @v1.42.3
deserializers.go:24365
in loop -
aws/aws-sdk-go-v2/service/apigatewayv2 @v1.37.3
deserializers.go:22832
in loop -
aws/aws-sdk-go-v2/service/batch @v1.68.3
deserializers.go:11341
in loop -
aws/aws-sdk-go-v2/service/budgets @v1.46.3
deserializers.go:4118
in loop -
aws/aws-sdk-go-v2/service/cloudtrail @v1.58.3
deserializers.go:14223
in loop -
aws/aws-sdk-go-v2/service/cloudwatchlogs @v1.81.0
deserializers.go:17151
in loop -
aws/aws-sdk-go-v2/service/codebuild @v1.72.3
deserializers.go:8697
in loop -
aws/aws-sdk-go-v2/service/codedeploy @v1.38.3
deserializers.go:10798
in loop -
aws/aws-sdk-go-v2/service/devicefarm @v1.41.3
deserializers.go:10157
in loop -
aws/aws-sdk-go-v2/service/dynamodb @v1.63.0
deserializers.go:8868
in loop -
aws/aws-sdk-go-v2/service/ecr @v1.60.3
deserializers.go:9160
in loop -
aws/aws-sdk-go-v2/service/ecs @v1.89.3
deserializers.go:11765
in loop
top callers
The modules that reach for it
The modules that call Inf most in this snapshot.
- gonum.org/v1/gonum1,57336%
- github.com/google/grumpy1904%
- github.com/prometheus/prometheus1433%
- github.com/aws/aws-sdk-go-v2/service/glue1163%
- google.golang.org/protobuf992%
siblings
More from math
The other most-called functions in this package. See all →