func math.IsNaN
60 uses
math (current package)
acosh.go#L48: case x < 1 || IsNaN(x):
asinh.go#L48: if IsNaN(x) || IsInf(x, 0) {
atan2.go#L34: case IsNaN(y) || IsNaN(x):
atanh.go#L53: case x < -1 || x > 1 || IsNaN(x):
bits.go#L34: func IsNaN(f float64) (is bool) {
cbrt.go#L40: case x == 0 || IsNaN(x) || IsInf(x, 0):
dim.go#L42: case IsNaN(x) || IsNaN(y):
dim.go#L69: case IsNaN(x) || IsNaN(y):
erf.go#L197: case IsNaN(x):
erf.go#L273: case IsNaN(x):
erfinv.go#L78: if IsNaN(x) || x <= -1 || x >= 1 {
exp.go#L105: case IsNaN(x) || IsInf(x, 1):
exp.go#L148: case IsNaN(x) || IsInf(x, 1):
expm1.go#L146: case IsInf(x, 1) || IsNaN(x):
floor.go#L16: if x == 0 || IsNaN(x) || IsInf(x, 0) {
floor.go#L51: if x == 0 || IsNaN(x) || IsInf(x, 0) {
frexp.go#L23: case IsInf(f, 0) || IsNaN(f):
gamma.go#L134: case isNegInt(x) || IsInf(x, -1) || IsNaN(x):
hypot.go#L26: case IsNaN(p) || IsNaN(q):
j0.go#L94: case IsNaN(x):
j0.go#L172: case x < 0 || IsNaN(x):
j1.go#L91: case IsNaN(x):
j1.go#L171: case x < 0 || IsNaN(x):
jn.go#L60: case IsNaN(x):
jn.go#L237: case x < 0 || IsNaN(x):
ldexp.go#L21: case IsInf(frac, 0) || IsNaN(frac):
lgamma.go#L189: case IsNaN(x):
log.go#L97: case IsNaN(x) || IsInf(x, 1):
log1p.go#L117: case x < -1 || IsNaN(x): // includes -Inf
logb.go#L20: case IsNaN(x):
logb.go#L37: case IsNaN(x):
mod.go#L24: if y == 0 || IsInf(x, 0) || IsNaN(x) || IsNaN(y) {
nextafter.go#L15: case IsNaN(float64(x)) || IsNaN(float64(y)): // special case
nextafter.go#L37: case IsNaN(x) || IsNaN(y): // special case
pow.go#L46: case IsNaN(x) || IsNaN(y):
remainder.go#L46: case IsNaN(x) || IsNaN(y) || IsInf(x, 0) || y == 0:
sin.go#L127: case IsNaN(x) || IsInf(x, 0):
sin.go#L188: case x == 0 || IsNaN(x):
sincos.go#L25: case IsNaN(x) || IsInf(x, 0):
sqrt.go#L102: case x == 0 || IsNaN(x) || IsInf(x, 1):
tan.go#L92: case x == 0 || IsNaN(x):
math/big
float.go#L89: if math.IsNaN(x) {
float.go#L548: if math.IsNaN(x) {
encoding/json
encode.go#L577: if math.IsInf(f, 0) || math.IsNaN(f) {
src.elv.sh/pkg/eval
builtin_fn_container.go#L864: case math.IsNaN(a):
builtin_fn_container.go#L865: if math.IsNaN(b) {
builtin_fn_container.go#L869: case math.IsNaN(b):
src.elv.sh/pkg/eval/evaltest
matchers.go#L21: if math.IsNaN(a) && math.IsNaN(b) {
src.elv.sh/pkg/eval/mods/math
math.go#L505: "is-nan": math.IsNaN,
src.elv.sh/pkg/eval/vals
string.go#L49: } else if noPoint && !math.IsNaN(f) && !math.IsInf(f, 0) {