Home
last modified time | relevance | path

Searched refs:FP_NAN (Results 1 – 22 of 22) sorted by relevance

/glibc-2.36/math/
Dlibm-test-fpclassify.inc23 TEST_f_i (fpclassify, qnan_value, FP_NAN, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
24 TEST_f_i (fpclassify, -qnan_value, FP_NAN, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
25 TEST_f_i (fpclassify, snan_value, FP_NAN, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
26 TEST_f_i (fpclassify, -snan_value, FP_NAN, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
43 TEST_j_i (fpclassify, pseudo_zero, FP_NAN, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
44 TEST_j_i (fpclassify, pseudo_inf, FP_NAN, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
45 TEST_j_i (fpclassify, pseudo_qnan, FP_NAN, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
46 TEST_j_i (fpclassify, pseudo_snan, FP_NAN, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
47 TEST_j_i (fpclassify, pseudo_unnormal, FP_NAN, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
Dtest-snan.c113 CHECK (#FLOAT " fpclassify (qNaN)", (fpclassify (qNaN_var)==FP_NAN)); \
114 CHECK (#FLOAT " fpclassify (-qNaN)", (fpclassify (-qNaN_var)==FP_NAN)); \
116 SNAN_TESTS (FLOAT) ? fpclassify (sNaN_var) == FP_NAN : 1); \
118 SNAN_TESTS (FLOAT) ? fpclassify (minus_sNaN_var) == FP_NAN : 1); \
Ds_casinh_template.c35 if (rcls == FP_NAN) in M_DECL_FUNC()
46 || (rcls == FP_NAN && icls == FP_ZERO)) in M_DECL_FUNC()
Ds_clog_template.c40 else if (__glibc_likely (rcls != FP_NAN && icls != FP_NAN)) in M_DECL_FUNC()
Ds_cexp_template.c143 if (rcls != FP_NAN || icls != FP_NAN) in M_DECL_FUNC()
Ds_clog10_template.c46 else if (__glibc_likely (rcls != FP_NAN && icls != FP_NAN)) in M_DECL_FUNC()
Ds_csqrt_template.c43 __real__ res = icls == FP_NAN ? M_NAN : 0; in M_DECL_FUNC()
49 __imag__ res = (icls == FP_NAN in M_DECL_FUNC()
Ds_cacosh_template.c36 if (rcls == FP_NAN) in M_DECL_FUNC()
Dtest-math-cxx11.cc40 (void) FP_NAN; in do_test()
Dmath.h936 FP_NAN = enumerator
937 # define FP_NAN 0 macro
938 FP_NAN,
967 # define fpclassify(x) __builtin_fpclassify (FP_NAN, FP_INFINITE, \
/glibc-2.36/sysdeps/x86/fpu/
Ds_fpclassifyl.c39 retval = FP_NAN; in __fpclassifyl()
41 retval = ((hx & 0x7fffffff) | lx) != 0 ? FP_NAN : FP_INFINITE; in __fpclassifyl()
/glibc-2.36/sysdeps/ieee754/flt-32/
Ds_fpclassifyf.c37 retval = wx > 0x7f800000 ? FP_NAN : FP_INFINITE; in __fpclassifyf()
/glibc-2.36/sysdeps/riscv/rvf/
Ds_fpclassifyf.c34 return FP_NAN; in __fpclassifyf()
/glibc-2.36/sysdeps/riscv/rvd/
Ds_fpclassify.c34 return FP_NAN; in __fpclassify()
/glibc-2.36/sysdeps/ieee754/dbl-64/
Ds_fpclassify.c38 retval = lx != 0 ? FP_NAN : FP_INFINITE; in __fpclassify()
/glibc-2.36/sysdeps/ieee754/ldbl-128/
Ds_fpclassifyl.c38 retval = lx != 0 ? FP_NAN : FP_INFINITE; in __fpclassifyl()
/glibc-2.36/sysdeps/m68k/m680x0/fpu/
Ds_fpclassifyl.c37 retval = ((hx & 0x7fffffff) | lx) != 0 ? FP_NAN : FP_INFINITE; in __fpclassifyl()
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/
Ds_fpclassifyl.c55 retval = FP_NAN; in ___fpclassifyl()
/glibc-2.36/benchtests/
Dbench-math-inlines.c117 #define __fpclassify_builtin(X) __builtin_fpclassify (FP_NAN, FP_INFINITE, \
/glibc-2.36/conform/data/
Dmath.h-data48 macro-int-constant FP_NAN
/glibc-2.36/manual/
Darith.texi325 @item FP_NAN
382 (fpclassify (x) != FP_NAN && fpclassify (x) != FP_INFINITE)
407 (fpclassify (x) == FP_NAN)
/glibc-2.36/ChangeLog.old/
DChangeLog.182553 * manual/arith.texi (FP_NAN): Add or complete header and standard
75668 * math/math.h (FP_NAN): Define macro to integer constant usable in
83367 [C99-based standards] (FP_NAN): Likewise.
84130 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.