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,366
non-test, non-generated
all calls
34,480
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,035
IsNaN 1,793
Max 1,267
Ceil 1,046
IsInf 1,019
Pow 1,015
Min 997
Inf 996
Sqrt 853
Round 845
NaN 732
Float64bits 662
Floor 657
Float64frombits 636
Log 570
Mod 448
Float32frombits 445
Exp 410
Float32bits 391
Cos 294
Sin 257
Trunc 222
Copysign 137
Pow10 133
Modf 132
Log2 111
Signbit 104
Hypot 87
Log10 72