Skip to content
callcount

package

math

standard library

29 standard-library functions from math, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
24,249
non-test, non-generated
all calls
38,415
total callsites
functions
29
ranked in this snapshot
origin
std
standard-library

members

Functions in math

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
Abs 6,230
IsNaN 2,021
Max 1,434
IsInf 1,213
Ceil 1,175
Inf 1,157
Min 1,096
Pow 1,031
Round 977
Sqrt 911
NaN 753
Float64bits 743
Floor 742
Float64frombits 682
Log 584
Float32frombits 466
Mod 459
Exp 423
Float32bits 413
Cos 307
Sin 286
Trunc 284
Copysign 150
Modf 135
Pow10 134
Hypot 130
Signbit 117
Log2 116
Log10 80