func math.Inf
58 uses
math (current package)
atanh.go#L61: return Inf(1)
atanh.go#L63: return Inf(-1)
bits.go#L20: func Inf(sign int) float64 {
dim.go#L46: return Inf(1)
dim.go#L78: return Inf(-1)
erfinv.go#L80: return Inf(int(x))
exp.go#L115: return Inf(1)
exp.go#L163: return Inf(1)
expm1.go#L170: return Inf(1)
gamma.go#L102: return Inf(1), 1
gamma.go#L137: return Inf(1)
gamma.go#L140: return Inf(-1)
gamma.go#L142: return Inf(1)
gamma.go#L165: return Inf(signgam)
gamma.go#L210: return Inf(1)
hypot.go#L30: return Inf(1)
j0.go#L177: return Inf(-1)
j1.go#L176: return Inf(-1)
jn.go#L248: return Inf(1)
jn.go#L250: return Inf(-1)
ldexp.go#L38: return Inf(-1)
ldexp.go#L40: return Inf(1)
lgamma.go#L196: lgamma = Inf(1)
lgamma.go#L216: lgamma = Inf(1)
lgamma.go#L221: lgamma = Inf(1) // -integer
log.go#L107: return Inf(-1)
log1p.go#L125: return Inf(-1)
log1p.go#L127: return Inf(1)
logb.go#L17: return Inf(-1)
logb.go#L19: return Inf(1)
pow.go#L57: return Copysign(Inf(1), x)
pow.go#L59: return Inf(1)
pow.go#L73: return Inf(1)
pow.go#L83: return Inf(1)
pow.go#L104: return Inf(1)
pow10.go#L41: return Inf(1)
math/big
float.go#L904: return float32(math.Inf(-1)), Below
float.go#L906: return float32(math.Inf(+1)), Above
float.go#L942: return float32(math.Inf(-1)), Exact
float.go#L944: return float32(math.Inf(+1)), Exact
float.go#L1024: return math.Inf(-1), Below
float.go#L1026: return math.Inf(+1), Above
float.go#L1062: return math.Inf(-1), Exact
float.go#L1064: return math.Inf(+1), Exact
github.com/golang/protobuf/jsonpb
decode.go#L453: `"Infinity"`: math.Inf(+1),
decode.go#L454: `"-Infinity"`: math.Inf(-1),
github.com/valyala/fastjson/fastfloat
parse.go#L514: var inf = math.Inf(1)
google.golang.org/protobuf/encoding/protojson
decode.go#L422: return protoreflect.ValueOfFloat32(float32(math.Inf(+1))), true
decode.go#L424: return protoreflect.ValueOfFloat64(math.Inf(+1)), true
decode.go#L427: return protoreflect.ValueOfFloat32(float32(math.Inf(-1))), true
decode.go#L429: return protoreflect.ValueOfFloat64(math.Inf(-1)), true
google.golang.org/protobuf/internal/encoding/defval
default.go#L92: v = math.Inf(-1)
default.go#L94: v = math.Inf(+1)
google.golang.org/protobuf/internal/encoding/text
decode_token.go#L359: "inf": math.Inf(1),
decode_token.go#L360: "infinity": math.Inf(1),
decode_token.go#L361: "-inf": math.Inf(-1),
decode_token.go#L362: "-infinity": math.Inf(-1),
strconv
atof.go#L64: return math.Inf(sign), nsign + n, true