Home
last modified time | relevance | path

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

1234

/openbsd/regress/lib/libm/modf/
H A Dmodf_test.c17 assert(signbit(i) == 0); in modff_infnan()
22 assert(signbit(i) != 0); in modff_infnan()
27 assert(signbit(i) == 0); in modff_infnan()
29 assert(signbit(f) == 0); in modff_infnan()
33 assert(signbit(i) != 0); in modff_infnan()
35 assert(signbit(f) != 0); in modff_infnan()
45 assert(signbit(i) == 0); in modfl_infnan()
50 assert(signbit(i) != 0); in modfl_infnan()
55 assert(signbit(i) == 0); in modfl_infnan()
57 assert(signbit(f) == 0); in modfl_infnan()
[all …]
/openbsd/regress/lib/libm/msun/
H A Drem_test.c150 ATF_CHECK(!signbit(rem) == !signbit(expected_rem)); in testl()
153 ATF_CHECK(!signbit(rem) == !signbit(expected_rem)); in testl()
172 ATF_CHECK(!signbit(rem) == !signbit(expected_rem)); in testd()
175 ATF_CHECK(!signbit(rem) == !signbit(expected_rem)); in testd()
194 ATF_CHECK(!signbit(rem) == !signbit(expected_rem)); in testf()
197 ATF_CHECK(!signbit(rem) == !signbit(expected_rem)); in testf()
H A Dtest-utils.h114 return (x == y && !signbit(x) == !signbit(y)); in fpequal_cs()
128 if (!signbit(x) != !signbit(y) && (flags & CS_BOTH)) in fpequal_tol()
/openbsd/regress/lib/libc/ldexp/
H A Dldexp_test.c43 assert(!signbit(f)); in main()
47 assert(!signbit(f)); in main()
60 assert(signbit(f)); in main()
64 assert(signbit(f)); in main()
68 assert(!signbit(f)); in main()
72 assert(signbit(f)); in main()
/openbsd/regress/lib/libc/modf/
H A Dmodf_test.c41 assert(signbit(i) == 0); in modf_infnan()
46 assert(signbit(i) != 0); in modf_infnan()
51 assert(signbit(i) == 0); in modf_infnan()
53 assert(signbit(f) == 0); in modf_infnan()
57 assert(signbit(i) != 0); in modf_infnan()
59 assert(signbit(f) != 0); in modf_infnan()
/openbsd/gnu/usr.bin/perl/ext/POSIX/t/
H A Dmath.t128 is(signbit(2), 0, "signbit 2"); # zero
129 ok(signbit(-2), "signbit -2"); # non-zero
130 is(signbit(0), 0, "signbit 0"); # zero
131 is(signbit(0.5), 0, "signbit 0.5"); # zero
132 ok(signbit(-0.5), "signbit -0.5"); # non-zero
142 is(signbit(lround(-0.25)), 0, "signbit lround -0.25 zero");
143 ok(signbit(lround(-0.50)), "signbit lround -0.50 non-zero"); # non-zero
285 ok(!signbit(INFINITY), "signbit(INFINITY)");
296 ok(!signbit(NAN), "signbit(NAN)");
/openbsd/usr.sbin/tcpdump/
H A Dprint-ntp.c240 int signbit; in p_ntp_delta() local
248 signbit = 0; in p_ntp_delta()
253 signbit = 1; in p_ntp_delta()
260 signbit = 0; in p_ntp_delta()
263 signbit = 1; in p_ntp_delta()
273 if (signbit) in p_ntp_delta()
/openbsd/lib/libm/src/
H A Ds_fmaxl.c40 if (signbit(x) != signbit(y)) { in fmaxl()
41 if (signbit(x)) in fmaxl()
H A Ds_fminl.c40 if (signbit(x) != signbit(y)) { in fminl()
41 if (signbit(y)) in fminl()
H A Ds_fmaxf.c40 if (signbit(x) != signbit(y)) { in fmaxf()
41 if (signbit(x)) in fmaxf()
H A Ds_fminf.c40 if (signbit(x) != signbit(y)) { in fminf()
41 if (signbit(y)) in fminf()
H A Ds_fmax.c41 if (signbit(x) != signbit(y)) { in fmax()
42 if (signbit(x)) in fmax()
H A Ds_fmin.c41 if (signbit(x) != signbit(y)) { in fmin()
42 if (signbit(y)) in fmin()
/openbsd/gnu/llvm/libcxx/include/__compare/
H A Dstrong_order.h71 return _VSTD::signbit(__u) <=> _VSTD::signbit(__t); in __go()
77 return _VSTD::signbit(__u) <=> _VSTD::signbit(__t); in __go()
90 bool __t_is_negative = _VSTD::signbit(__t); in __go()
91 bool __u_is_negative = _VSTD::signbit(__u); in __go()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D991228-1.c10 signbit(double x) in signbit() function
21 if (!signbit(-0.25)) in main()
/openbsd/gnu/usr.bin/binutils/opcodes/
H A Dalpha-dis.c177 int signbit = 1 << (operand->bits - 1); local
178 value = (value ^ signbit) - signbit;
/openbsd/gnu/usr.bin/binutils-2.17/opcodes/
H A Dalpha-dis.c178 int signbit = 1 << (operand->bits - 1); local
179 value = (value ^ signbit) - signbit;
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/
H A Dc99_classification_macros_c++.cc44 void signbit() { } in signbit() function
74 res = std::signbit(f2); in test_c99_classify()
/openbsd/gnu/llvm/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h164 __DEVICE__ bool signbit(long double);
166 __DEVICE__ bool signbit(double);
167 __DEVICE__ bool signbit(float);
264 using ::signbit;
/openbsd/regress/lib/libm/nextafter/
H A Dnextafter.c11 ((f) == (r) && signbit((f)) == signbit((r))) || \
/openbsd/gnu/usr.bin/binutils/bfd/
H A Dlibhppa.h184 int signbit = (1 << (len - 1)); in sign_extend() local
185 int mask = (signbit << 1) - 1; in sign_extend()
186 return ((x & mask) ^ signbit) - signbit; in sign_extend()
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Dlibhppa.h184 int signbit = (1 << (len - 1)); in sign_extend() local
185 int mask = (signbit << 1) - 1; in sign_extend()
186 return ((x & mask) ^ signbit) - signbit; in sign_extend()
/openbsd/gnu/gcc/gcc/config/pa/
H A Dhpux-unwind.h83 int signbit = (1 << (len - 1)); in sign_extend() local
84 int mask = (signbit << 1) - 1; in sign_extend()
85 return ((x & mask) ^ signbit) - signbit; in sign_extend()
/openbsd/gnu/gcc/fixincludes/tests/base/iso/
H A Dmath_c99.h89 #undef signbit
90 #define signbit(x) (sizeof(x) == sizeof(float) \ macro
/openbsd/usr.bin/systat/
H A Dsensors.c336 int signbit = 1; in fmttime() local
343 signbit = -1; in fmttime()
379 signbit == -1 ? "-" : "", in, unit); in fmttime()

1234