func math.Inf
70 uses
math (current package)
atanh.go#L56: return Inf(1)
atanh.go#L58: return Inf(-1)
bits.go#L20: func Inf(sign int) float64 {
dim.go#L41: return Inf(1)
dim.go#L68: return Inf(-1)
erfinv.go#L80: return Inf(int(x))
exp.go#L110: return Inf(1)
exp.go#L153: return Inf(1)
expm1.go#L165: 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#L25: 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#L33: return Inf(-1)
ldexp.go#L35: return Inf(1)
lgamma.go#L196: lgamma = Inf(1)
lgamma.go#L216: lgamma = Inf(1)
lgamma.go#L221: lgamma = Inf(1) // -integer
log.go#L102: return Inf(-1)
log1p.go#L120: return Inf(-1)
log1p.go#L122: return Inf(1)
logb.go#L17: return Inf(-1)
logb.go#L19: return Inf(1)
pow.go#L52: return Copysign(Inf(1), x)
pow.go#L54: return Inf(1)
pow.go#L68: return Inf(1)
pow.go#L78: return Inf(1)
pow.go#L99: return Inf(1)
pow10.go#L41: return Inf(1)
math/big
float.go#L902: return float32(math.Inf(-1)), Below
float.go#L904: return float32(math.Inf(+1)), Above
float.go#L940: return float32(math.Inf(-1)), Exact
float.go#L942: return float32(math.Inf(+1)), Exact
float.go#L1022: return math.Inf(-1), Below
float.go#L1024: return math.Inf(+1), Above
float.go#L1060: return math.Inf(-1), Exact
float.go#L1062: return math.Inf(+1), Exact
github.com/evanw/esbuild/internal/config
globals.go#L904: DefineFunc: func(DefineArgs) js_ast.E { return &js_ast.ENumber{Value: math.Inf(1)} },
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L21: var positiveInfinity = math.Inf(1)
js_printer.go#L22: var negativeInfinity = math.Inf(-1)
github.com/prometheus/client_model/go
metrics.pb.go#L13: var _ = math.Inf
github.com/prometheus/common/expfmt
text_create.go#L239: model.BucketLabel, math.Inf(+1),
google.golang.org/api/internal/gensupport
jsonfloat.go#L37: ff = math.Inf(1)
jsonfloat.go#L39: ff = math.Inf(-1)
google.golang.org/grpc/balancer/grpclb/grpc_lb_v1
load_balancer.pb.go#L21: var _ = math.Inf
google.golang.org/grpc/binarylog/grpc_binarylog_v1
binarylog.pb.go#L17: var _ = math.Inf
google.golang.org/grpc/credentials/alts/internal/proto/grpc_gcp
altscontext.pb.go#L15: var _ = math.Inf
handshaker.pb.go#L19: var _ = math.Inf
transport_security_common.pb.go#L15: var _ = math.Inf
google.golang.org/protobuf/encoding/protojson
decode.go#L448: return pref.ValueOfFloat32(float32(math.Inf(+1))), true
decode.go#L450: return pref.ValueOfFloat64(math.Inf(+1)), true
decode.go#L453: return pref.ValueOfFloat32(float32(math.Inf(-1))), true
decode.go#L455: return pref.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),
gopkg.in/yaml.v2
resolve.go#L45: {math.Inf(+1), yaml_FLOAT_TAG, []string{".inf", ".Inf", ".INF"}},
resolve.go#L46: {math.Inf(+1), yaml_FLOAT_TAG, []string{"+.inf", "+.Inf", "+.INF"}},
resolve.go#L47: {math.Inf(-1), yaml_FLOAT_TAG, []string{"-.inf", "-.Inf", "-.INF"}},
strconv
atof.go#L64: return math.Inf(sign), nsign + n, true
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |