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
22,490
non-test, non-generated
all calls
34,825
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,031
IsNaN 1,867
Max 1,268
IsInf 1,105
Ceil 1,043
Pow 1,015
Min 999
Inf 994
Sqrt 848
Round 835
NaN 731
Float64bits 661
Floor 654
Float64frombits 635
Log 569
Mod 448
Float32frombits 443
Exp 409
Float32bits 389
Cos 294
Sin 257
Trunc 219
Copysign 137
Pow10 133
Modf 132
Log2 111
Signbit 104
Hypot 87
Log10 72