Home
last modified time | relevance | path

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

/math/
A Dlibm-test-signbit.inc1 /* Test signbit.
23 TEST_f_b (signbit, 0, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
24 TEST_f_b (signbit, minus_zero, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
25 TEST_f_b (signbit, plus_infty, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
27 TEST_f_b (signbit, qnan_value, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
29 TEST_f_b (signbit, snan_value, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
32 /* signbit (x) != 0 for x < 0. */
33 TEST_f_b (signbit, -1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
37 /* signbit (x) == 0 for x >= 0. */
38 TEST_f_b (signbit, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
[all …]
A Dlibm-test-support.c174 if (! signbit (value)) in fmt_ftostr()
630 && signbit (computed) != signbit (expected)) in check_float_internal()
650 && signbit (computed) != signbit (expected)) in check_float_internal()
669 && signbit (computed) != signbit (expected)) in check_float_internal()
689 && signbit(computed) != signbit (expected)) in check_float_internal()
A Dtest-misc.c862 if (signbit (v2)) in do_test()
877 if (!signbit (v2)) in do_test()
974 else if (signbit (r) != 0) in do_test()
994 else if (signbit (r) != 0) in do_test()
A Dmath.h975 # define signbit(x) __builtin_signbit (x) macro
984 # define signbit(x) __builtin_signbitl (x) macro
986 # define signbit(x) __MATH_TG ((x), __builtin_signbit, (x)) macro
988 # define signbit(x) __MATH_TG ((x), __signbit, (x)) macro
A Ds_csin_template.c30 int negate = signbit (__real__ x); in M_DECL_FUNC()
62 if (signbit (__imag__ x)) in M_DECL_FUNC()
140 if (signbit (__imag__ x)) in M_DECL_FUNC()
A Dw_powl_compat.c41 if (signbit (x) && signbit (z)) in __powl()
A Dw_powf_compat.c41 if (signbit (x) && signbit (z)) in __powf_compat()
A Dw_pow_compat.c43 if (signbit (x) && signbit (z)) in __pow_compat()
A Ds_cacosh_template.c50 __imag__ res = M_COPYSIGN (signbit (__real__ x) in M_DECL_FUNC()
78 if (signbit (__imag__ x)) in M_DECL_FUNC()
A Ds_cexp_template.c95 FLOAT value = signbit (__real__ x) ? 0 : M_HUGE_VAL; in M_DECL_FUNC()
121 else if (signbit (__real__ x) == 0) in M_DECL_FUNC()
A Ds_csinh_template.c30 int negate = signbit (__real__ x); in M_DECL_FUNC()
62 if (signbit (__real__ x)) in M_DECL_FUNC()
A Dw_exp2l_compat.c18 return __kernel_standard_l (x, x, 244 + !!signbit (x)); in __exp2l()
A Dw_exp2f_compat.c17 return __kernel_standard_f (x, x, 144 + !!signbit (x)); in __exp2f_compat()
A Dw_expf_compat.c30 return __kernel_standard_f (x, x, 106 + !!signbit (x)); in __expf_compat()
A Dw_expl_compat.c37 return __kernel_standard_l (x, x, 206 + !!signbit (x)); in __expl()
A Dw_exp10l_compat.c36 return __kernel_standard_l (x, x, 246 + !!signbit (x)); in __exp10l()
A Dw_exp10f_compat.c36 return __kernel_standard_f (x, x, 146 + !!signbit (x)); in __exp10f_compat()
A Dw_exp10_compat.c36 return __kernel_standard (x, x, 46 + !!signbit (x)); in __exp10()
A Dw_exp2_compat.c20 return __kernel_standard (x, x, 44 + !!signbit (x)); in __exp2_compat()
A Dw_exp_compat.c33 return __kernel_standard (x, x, 6 + !!signbit (x)); in __exp_compat()
A Ds_ccosh_template.c56 if (signbit (__real__ x)) in M_DECL_FUNC()
A Ds_clog_template.c35 __imag__ result = signbit (__real__ x) ? (FLOAT) M_MLIT (M_PI) : 0; in M_DECL_FUNC()
A Ds_clog10_template.c41 __imag__ result = signbit (__real__ x) ? PI_LOG10E : 0; in M_DECL_FUNC()
A DMakefile303 scalbln scalbn setpayload setpayloadsig signbit \
/math/bits/
A Dmathcalls-helper-functions.h24 __MATHDECL_ALIAS (int, __signbit,, (_Mdouble_ __value), signbit)

Completed in 18 milliseconds