Home
last modified time | relevance | path

Searched refs:fpclassify (Results 1 – 25 of 31) sorted by relevance

12

/glibc-2.36/math/
Dlibm-test-fpclassify.inc1 /* 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 …]
Dtest-misc.c149 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 …]
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_cacos_template.c27 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
28 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_casinh_template.c26 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
27 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_cacosh_template.c27 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
28 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_clog_template.c29 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
30 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_ccosh_template.c30 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
31 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_cexp_template.c30 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
31 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_clog10_template.c35 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
36 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_csinh_template.c31 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
32 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_csin_template.c31 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
32 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_catanh_template.c29 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
30 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_catan_template.c29 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
30 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Ds_csqrt_template.c29 int rcls = fpclassify (__real__ x); in M_DECL_FUNC()
30 int icls = fpclassify (__imag__ x); in M_DECL_FUNC()
Dmath.h967 # 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)
Dlibm-test-support.c584 switch (fpclassify (value)) in ulp()
1079 if (fpclassify (ulps) != FP_SUBNORMAL) in check_ulp()
1086 if (fpclassify (ulps) != FP_NORMAL) in check_ulp()
DMakefile296 fmod fpclassify frexp fromfp fromfpx getpayload \
/glibc-2.36/benchtests/
Dbench-math-inlines.c174 VALUETEST (fpclassify)
213 IMPL (fpclassify),
/glibc-2.36/sysdeps/ieee754/flt-32/
Ds_cbrtf.c49 if (xe == 0 && fpclassify (x) <= FP_ZERO) in __cbrtf()
/glibc-2.36/math/bits/
Dmathcalls-helper-functions.h20 __MATHDECL_ALIAS (int, __fpclassify,, (_Mdouble_ __value), fpclassify)
/glibc-2.36/sysdeps/ieee754/dbl-64/
Ds_cbrt.c49 if (xe == 0 && fpclassify (x) <= FP_ZERO) in __cbrt()
/glibc-2.36/sysdeps/ieee754/ldbl-96/
Ds_cbrtl.c52 if (xe == 0 && fpclassify (x) <= FP_ZERO) in __cbrtl()
/glibc-2.36/conform/data/
Dmath.h-data5 macro fpclassify
/glibc-2.36/manual/
Darith.texi318 @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)

12