func math.IsNaN
55 uses
math (current package)
acosh.go#L54: case x < 1 || IsNaN(x):
asinh.go#L54: if IsNaN(x) || IsInf(x, 0) {
atan2.go#L40: case IsNaN(y) || IsNaN(x):
atanh.go#L59: case x < -1 || x > 1 || IsNaN(x):
bits.go#L34: func IsNaN(f float64) (is bool) {
cbrt.go#L46: case x == 0 || IsNaN(x) || IsInf(x, 0):
dim.go#L52: case IsNaN(x) || IsNaN(y):
dim.go#L88: case IsNaN(x) || IsNaN(y):
erf.go#L203: case IsNaN(x):
erf.go#L285: case IsNaN(x):
erfinv.go#L79: if IsNaN(x) || x <= -1 || x >= 1 {
exp.go#L112: case IsNaN(x) || IsInf(x, 1):
exp.go#L160: case IsNaN(x) || IsInf(x, 1):
expm1.go#L153: case IsInf(x, 1) || IsNaN(x):
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):
hypot.go#L33: case IsNaN(p) || IsNaN(q):
j0.go#L95: case IsNaN(x):
j0.go#L174: case x < 0 || IsNaN(x):
j1.go#L92: case IsNaN(x):
j1.go#L173: case x < 0 || IsNaN(x):
jn.go#L61: case IsNaN(x):
jn.go#L239: case x < 0 || IsNaN(x):
ldexp.go#L27: case IsInf(frac, 0) || IsNaN(frac):
lgamma.go#L190: case IsNaN(x):
log.go#L103: case IsNaN(x) || IsInf(x, 1):
log1p.go#L123: case x < -1 || IsNaN(x): // includes -Inf
logb.go#L21: case IsNaN(x):
logb.go#L39: case IsNaN(x):
mod.go#L30: if y == 0 || IsInf(x, 0) || IsNaN(x) || IsNaN(y) {
nextafter.go#L16: case IsNaN(float64(x)) || IsNaN(float64(y)): // special case
nextafter.go#L39: case IsNaN(x) || IsNaN(y): // special case
pow.go#L61: case IsNaN(x) || IsNaN(y):
remainder.go#L52: case IsNaN(x) || IsNaN(y) || IsInf(x, 0) || y == 0:
sin.go#L133: case IsNaN(x) || IsInf(x, 0):
sin.go#L200: case x == 0 || IsNaN(x):
sincos.go#L26: case IsNaN(x) || IsInf(x, 0):
sqrt.go#L103: case x == 0 || IsNaN(x) || IsInf(x, 1):
tan.go#L98: case x == 0 || IsNaN(x):
math/big
float.go#L89: if math.IsNaN(x) {
float.go#L556: if math.IsNaN(x) {
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#L474: case math.IsNaN(val):
|
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. |