Home
last modified time | relevance | path

Searched refs:NaN (Results 1 – 25 of 39) sorted by relevance

12

/titanic_41/usr/src/lib/libm/amd64/src/
H A Dpowl.s35 / x ** NaN is NaN
36 / NaN ** y (except 0) is NaN
43 / +0 ** +y (except 0, NaN) is +0
44 / -0 ** +y (except 0, NaN, odd int) is +0
45 / +0 ** -y (except 0, NaN) is +inf (z flag)
46 / -0 ** -y (except 0, NaN, odd int) is +inf (z flag)
48 / +inf ** +y (except 0, NaN) is +inf
49 / +inf ** -y (except 0, NaN) is +0
50 / -inf ** +-y (except 0, NaN) is -0 ** -+y (NO z flag)
54 / x ** y (x negative & y not integer) is NaN (i flag)
[all …]
H A Dasinl.s51 fsub %st,%st(0) / +/-0 or NaN+invalid
52 fdiv %st,%st(0) / NaN+invalid or NaN
H A Dacosl.s64 fsub %st,%st(0) / +/-0 or NaN+invalid
65 fdiv %st,%st(0) / NaN+invalid or NaN
H A Dremainder.s42 ucomisd %xmm0,%xmm1 / if x or y is NaN, use fprem1
H A Dexp2l.s40 .general_case: / Here, |x| > 1 or x is NaN
H A Dilogbl.s52 movq $0x7fffffff,%rax / x is NaN/inf/unsup
/titanic_41/usr/src/lib/libm/i386/src/
H A Dpow.s31 / Note: 0^NaN should not signal "invalid" but this implementation
36 / x ** 0 is 1 _SVID_libm_err if x is 0 or NaN
38 / x ** NaN is NaN
39 / NaN ** y (except 0) is NaN
46 / +0 ** +y (except 0, NaN) is +0
47 / -0 ** +y (except 0, NaN, odd int) is +0
49 / +-0 ** -y (except 0, NaN) _SVID_libm_err
50 / +inf ** +y (except 0, NaN) is +inf
51 / +inf ** -y (except 0, NaN) is +0
52 / -inf ** +-y (except 0, NaN) is -0 ** -+y (NO z flag)
[all …]
H A Dpowf.s38 / x ** NaN is NaN
39 / NaN ** y (except 0) is NaN
46 / +0 ** +y (except 0, NaN) is +0
47 / -0 ** +y (except 0, NaN, odd int) is +0
48 / +0 ** -y (except 0, NaN) is +inf (z flag)
49 / -0 ** -y (except 0, NaN, odd int) is +inf (z flag)
51 / +inf ** +y (except 0, NaN) is +inf
52 / +inf ** -y (except 0, NaN) is +0
53 / -inf ** +-y (except 0, NaN) is -0 ** -+y (NO z flag)
57 / x ** y (x negative & y not integer) is NaN (i flag)
[all …]
H A Dpowl.s35 / x ** NaN is NaN
36 / NaN ** y (except 0) is NaN
43 / +0 ** +y (except 0, NaN) is +0
44 / -0 ** +y (except 0, NaN, odd int) is +0
45 / +0 ** -y (except 0, NaN) is +inf (z flag)
46 / -0 ** -y (except 0, NaN, odd int) is +inf (z flag)
48 / +inf ** +y (except 0, NaN) is +inf
49 / +inf ** -y (except 0, NaN) is +0
50 / -inf ** +-y (except 0, NaN) is -0 ** -+y (NO z flag)
54 / x ** y (x negative & y not integer) is NaN (i flag)
[all …]
H A Dasinl.s53 fsub %st,%st(0) / +/-0 or NaN+invalid
54 fdiv %st,%st(0) / NaN+invalid or NaN
H A Dacosl.s68 fsub %st,%st(0) / +/-0 or NaN+invalid
69 fdiv %st,%st(0) / NaN+invalid or NaN
H A Dilogbf.s46 jae .bexp_all_1 / jump if x is NaN or Inf
52 movl $0x7fffffff,%eax / x is NaN or inf, so return 0x7fffffff
H A Dilogb.s46 jae .bexp_all_1 / jump if x is NaN or Inf
52 movl $0x7fffffff,%eax / x is NaN or inf, so return 0x7fffffff
H A Dlog.s75 cmpl $0,%ecx / is x NaN or -INF?
76 jne .neg_nan_reentry / branch if x is NaN with signbit = 1
H A Dlog10.s75 cmpl $0,%ecx / is x NaN or -INF?
76 jne .neg_nan_reentry / branch if x is NaN with signbit = 1
H A Dnextafterf.s51 jp .NaN
106 .NaN: label
H A Dnextafter.s53 jp .NaN
126 .NaN: label
H A Dhypot.s105 jnz .check_y / branch if x is NaN
126 jnz .do_hypot / branch if y is NaN
H A Dremainder.s43 jp .rem_loop / if x or y is NaN, use fprem1
H A D__reduction.s53 cmpl $0x7ff00000,%eax / Is arg a NaN or an Inf ?
/titanic_41/usr/src/lib/libshell/common/tests/
H A Darith.sh464 [[ $(print -- $((0.0/0.0))) == ?(-)nan ]] || err_exit '0.0/0.0 != NaN'
466 (( NaN != NaN )) || err_exit 'NaN == NaN'
468 [[ $(print -- $((sqrt(-1.0)))) == ?(-)nan ]]|| err_exit 'sqrt(-1.0) != NaN'
471 [[ $(print -- $((NaN/Inf))) == ?(-)nan ]] || err_exit 'NaN/Inf != NaN'
473 else err_exit 'Inf and NaN not working'
/titanic_41/usr/src/head/
H A Dnan.h124 #define NaN(X) (((dnan *)&(X))->nan_parts.exponent == 0x7ff) macro
125 #define KILLNaN(X) if (NaN(X)) KILLFPE()
/titanic_41/usr/src/lib/libm/common/C/
H A D_SVID_error.c114 #define NaN C[0].d macro
615 ieee_retval = NaN; in _SVID_libm_err()
636 ieee_retval = NaN; in _SVID_libm_err()
639 exc.retval = NaN; in _SVID_libm_err()
655 exc.retval = NaN; in _SVID_libm_err()
670 exc.retval = NaN; in _SVID_libm_err()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Darith.c37 static Sfdouble_t NaN, Inf, Fun; variable
227 NaN = strtold("NaN", NiL); in arith()
228 NaNnod.nvalue.ldp = &NaN; in arith()
/titanic_41/usr/src/lib/libmvec/common/vis/
H A D__vexpf.S700 ! NaN -> NaN
749 ! NaN -> NaN
848 ! NaN -> NaN
991 ! NaN -> NaN
1163 ! NaN -> NaN
1366 ! NaN -> NaN
1581 ! NaN -> NaN
1820 ! NaN -> NaN
2082 ! NaN -> NaN

12