/glibc-2.36/math/ |
D | libm-test-fpclassify.inc | 1 /* Test fpclassify. 23 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), 27 TEST_f_i (fpclassify, plus_infty, FP_INFINITE, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), 28 TEST_f_i (fpclassify, minus_infty, FP_INFINITE, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), 29 TEST_f_i (fpclassify, plus_zero, FP_ZERO, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), 30 TEST_f_i (fpclassify, minus_zero, FP_ZERO, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), 31 TEST_f_i (fpclassify, 1000, FP_NORMAL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), [all …]
|
D | test-misc.c | 149 if (fpclassify (f) != FP_NORMAL) in do_test() 151 printf ("fpclassify (FLT_MIN) failed: %d\n", fpclassify (f)); in do_test() 155 if (fpclassify (f) != FP_SUBNORMAL) in do_test() 157 printf ("fpclassify (FLT_MIN-epsilon) failed: %d\n", fpclassify (f)); in do_test() 161 if (fpclassify (f) != FP_NORMAL) in do_test() 164 fpclassify (f)); in do_test() 188 if (fpclassify (f) != FP_NORMAL) in do_test() 190 printf ("fpclassify (-FLT_MIN) failed: %d\n", fpclassify (f)); in do_test() 194 if (fpclassify (f) != FP_SUBNORMAL) in do_test() 196 printf ("fpclassify (-FLT_MIN-epsilon) failed: %d\n", fpclassify (f)); in do_test() [all …]
|
D | test-snan.c | 113 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); \
|
D | s_cacos_template.c | 27 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 28 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_casinh_template.c | 26 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 27 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_cacosh_template.c | 27 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 28 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_clog_template.c | 29 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 30 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_ccosh_template.c | 30 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 31 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_cexp_template.c | 30 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 31 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_clog10_template.c | 35 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 36 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_csinh_template.c | 31 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 32 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_csin_template.c | 31 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 32 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_catanh_template.c | 29 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 30 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_catan_template.c | 29 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 30 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | s_csqrt_template.c | 29 int rcls = fpclassify (__real__ x); in M_DECL_FUNC() 30 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
|
D | math.h | 967 # define fpclassify(x) __builtin_fpclassify (FP_NAN, FP_INFINITE, \ macro 970 # define fpclassify(x) __MATH_TG ((x), __fpclassify, (x)) macro 1004 # define isnormal(x) (fpclassify (x) == FP_NORMAL) 1087 # define issubnormal(x) (fpclassify (x) == FP_SUBNORMAL) 1092 # define iszero(x) (fpclassify (x) == FP_ZERO)
|
D | libm-test-support.c | 584 switch (fpclassify (value)) in ulp() 1079 if (fpclassify (ulps) != FP_SUBNORMAL) in check_ulp() 1086 if (fpclassify (ulps) != FP_NORMAL) in check_ulp()
|
D | Makefile | 296 fmod fpclassify frexp fromfp fromfpx getpayload \
|
/glibc-2.36/benchtests/ |
D | bench-math-inlines.c | 174 VALUETEST (fpclassify) 213 IMPL (fpclassify),
|
/glibc-2.36/sysdeps/ieee754/flt-32/ |
D | s_cbrtf.c | 49 if (xe == 0 && fpclassify (x) <= FP_ZERO) in __cbrtf()
|
/glibc-2.36/math/bits/ |
D | mathcalls-helper-functions.h | 20 __MATHDECL_ALIAS (int, __fpclassify,, (_Mdouble_ __value), fpclassify)
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | s_cbrt.c | 49 if (xe == 0 && fpclassify (x) <= FP_ZERO) in __cbrt()
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | s_cbrtl.c | 52 if (xe == 0 && fpclassify (x) <= FP_ZERO) in __cbrtl()
|
/glibc-2.36/conform/data/ |
D | math.h-data | 5 macro fpclassify
|
/glibc-2.36/manual/ |
D | arith.texi | 318 @deftypefn {Macro} int fpclassify (@emph{float-type} @var{x}) 343 represent values closer to zero. @code{fpclassify} returns this value 353 @code{fpclassify} is most useful if more than one property of a number 356 @code{fpclassify}, since there is special hardware support for them. 382 (fpclassify (x) != FP_NAN && fpclassify (x) != FP_INFINITE) 396 (fpclassify (x) == FP_NORMAL) 407 (fpclassify (x) == FP_NAN)
|