func math.IsInf
62 uses
math (current package)
asinh.go#L54: if IsNaN(x) || IsInf(x, 0) {
atan2.go#L49: case IsInf(x, 0):
atan2.go#L50: if IsInf(x, 1) {
atan2.go#L52: case IsInf(y, 0):
atan2.go#L59: case IsInf(y, 0):
atan2.go#L64: case IsInf(y, 0):
bits.go#L46: func IsInf(f float64, sign int) bool {
cbrt.go#L46: case x == 0 || IsNaN(x) || IsInf(x, 0):
dim.go#L50: case IsInf(x, 1) || IsInf(y, 1):
dim.go#L86: case IsInf(x, -1) || IsInf(y, -1):
erf.go#L205: case IsInf(x, 1):
erf.go#L207: case IsInf(x, -1):
erf.go#L287: case IsInf(x, 1):
erf.go#L289: case IsInf(x, -1):
exp.go#L112: case IsNaN(x) || IsInf(x, 1):
exp.go#L114: case IsInf(x, -1):
exp.go#L160: case IsNaN(x) || IsInf(x, 1):
exp.go#L162: case IsInf(x, -1):
expm1.go#L153: case IsInf(x, 1) || IsNaN(x):
expm1.go#L155: case IsInf(x, -1):
floor.go#L22: if x == 0 || IsNaN(x) || IsInf(x, 0) {
floor.go#L69: if x == 0 || IsNaN(x) || IsInf(x, 0) {
frexp.go#L29: case IsInf(f, 0) || IsNaN(f):
gamma.go#L135: case isNegInt(x) || IsInf(x, -1) || IsNaN(x):
gamma.go#L137: case IsInf(x, 1):
gamma.go#L171: if IsInf(d, 0) {
hypot.go#L31: case IsInf(p, 1) || IsInf(q, 1):
j0.go#L97: case IsInf(x, 0):
j0.go#L176: case IsInf(x, 1):
j1.go#L94: case IsInf(x, 0) || x == 0:
j1.go#L175: case IsInf(x, 1):
jn.go#L63: case IsInf(x, 0):
jn.go#L241: case IsInf(x, 1):
jn.go#L298: for i := 1; i < n && !IsInf(b, -1); i++ {
ldexp.go#L27: case IsInf(frac, 0) || IsNaN(frac):
lgamma.go#L193: case IsInf(x, 0):
log.go#L103: case IsNaN(x) || IsInf(x, 1):
log1p.go#L127: case IsInf(x, 1):
logb.go#L19: case IsInf(x, 0):
logb.go#L41: case IsInf(x, 0):
mod.go#L30: if y == 0 || IsInf(x, 0) || IsNaN(x) || IsNaN(y) {
pow.go#L76: case IsInf(y, 0):
pow.go#L80: case (Abs(x) < 1) == IsInf(y, 1):
pow.go#L85: case IsInf(x, 0):
pow.go#L86: if IsInf(x, -1) {
remainder.go#L52: case IsNaN(x) || IsNaN(y) || IsInf(x, 0) || y == 0:
remainder.go#L54: case IsInf(y, 0):
sin.go#L133: case IsNaN(x) || IsInf(x, 0):
sin.go#L202: case IsInf(x, 0):
sincos.go#L26: case IsNaN(x) || IsInf(x, 0):
sqrt.go#L103: case x == 0 || IsNaN(x) || IsInf(x, 1):
tan.go#L100: case IsInf(x, 0):
math/big
float.go#L565: if math.IsInf(x, 0) {
rat.go#L165: if math.IsInf(float64(f), 0) {
rat.go#L263: if math.IsInf(f, 0) {
encoding/json
encode.go#L532: if math.IsInf(f, 0) || math.IsNaN(f) {
github.com/go-faster/jx
w_float_bits.go#L14: if math.IsNaN(v) || math.IsInf(v, 0) {
go.uber.org/zap/zapcore
json_encoder.go#L476: case math.IsInf(val, 1):
json_encoder.go#L478: case math.IsInf(val, -1):
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |