/openbsd/regress/lib/libm/modf/ |
H A D | modf_test.c | 17 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 D | rem_test.c | 150 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 D | test-utils.h | 114 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 D | ldexp_test.c | 43 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 D | modf_test.c | 41 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 D | math.t | 128 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 D | print-ntp.c | 240 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 D | s_fmaxl.c | 40 if (signbit(x) != signbit(y)) { in fmaxl() 41 if (signbit(x)) in fmaxl()
|
H A D | s_fminl.c | 40 if (signbit(x) != signbit(y)) { in fminl() 41 if (signbit(y)) in fminl()
|
H A D | s_fmaxf.c | 40 if (signbit(x) != signbit(y)) { in fmaxf() 41 if (signbit(x)) in fmaxf()
|
H A D | s_fminf.c | 40 if (signbit(x) != signbit(y)) { in fminf() 41 if (signbit(y)) in fminf()
|
H A D | s_fmax.c | 41 if (signbit(x) != signbit(y)) { in fmax() 42 if (signbit(x)) in fmax()
|
H A D | s_fmin.c | 41 if (signbit(x) != signbit(y)) { in fmin() 42 if (signbit(y)) in fmin()
|
/openbsd/gnu/llvm/libcxx/include/__compare/ |
H A D | strong_order.h | 71 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 D | 991228-1.c | 10 signbit(double x) in signbit() function 21 if (!signbit(-0.25)) in main()
|
/openbsd/gnu/usr.bin/binutils/opcodes/ |
H A D | alpha-dis.c | 177 int signbit = 1 << (operand->bits - 1); local 178 value = (value ^ signbit) - signbit;
|
/openbsd/gnu/usr.bin/binutils-2.17/opcodes/ |
H A D | alpha-dis.c | 178 int signbit = 1 << (operand->bits - 1); local 179 value = (value ^ signbit) - signbit;
|
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/ |
H A D | c99_classification_macros_c++.cc | 44 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.h | 164 __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 D | nextafter.c | 11 ((f) == (r) && signbit((f)) == signbit((r))) || \
|
/openbsd/gnu/usr.bin/binutils/bfd/ |
H A D | libhppa.h | 184 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 D | libhppa.h | 184 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 D | hpux-unwind.h | 83 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 D | math_c99.h | 89 #undef signbit 90 #define signbit(x) (sizeof(x) == sizeof(float) \ macro
|
/openbsd/usr.bin/systat/ |
H A D | sensors.c | 336 int signbit = 1; in fmttime() local 343 signbit = -1; in fmttime() 379 signbit == -1 ? "-" : "", in, unit); in fmttime()
|