Searched refs:sign (Results 51 - 75 of 79) sorted by relevance

1234

/haiku/src/system/libroot/posix/musl/math/x86/
H A Dacos.s25 fabs # fix sign of zero (matters in downward rounding mode)
/haiku/src/system/libroot/posix/musl/math/
H A Dcbrtl.c36 int sign = u.i.se & 0x8000; local
69 v.i.se = sign | (0x3fff + e/3);
H A Dj1.c65 static double common(uint32_t ix, double x, int y1, int sign) argument
96 if (sign)
117 int sign; local
120 sign = ix>>31;
125 return common(ix, fabs(x), 0, sign);
H A Dj1f.c25 static float common(uint32_t ix, float x, int y1, int sign) argument
47 if (sign)
68 int sign; local
71 sign = ix>>31;
76 return common(ix, fabsf(x), 0, sign);
H A Dlgamma_r.c15 * with user provide pointer for the sign of Gamma(x).
64 * since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0
65 * Hence, for x<0, signgam = sign(sin(pi*x)) and
148 /* sin(pi*x) assuming x > 2^-100, if sin(pi*x)==0 the sign is arbitrary */
175 int sign,i; local
179 sign = u.i>>63;
184 if(sign) {
190 if (sign) {
278 if (sign)
[all...]
H A Dlgammaf_r.c83 /* sin(pi*x) assuming x > 2^-100, if sin(pi*x)==0 the sign is arbitrary */
110 int i,sign; local
114 sign = u.i>>31;
119 if (sign) {
125 if (sign) {
213 if (sign)
H A Datanl.c135 unsigned sign = u.i.se >> 15; local
141 return sign ? -atanhi[3] : atanhi[3];
182 return sign ? -z : z;
H A Dpowl.c457 int n, e, sign, lx; local
463 sign = -1;
466 sign = 1;
494 sign = -sign;
512 if (sign < 0)
H A Dlgammal.c29 * with user provide pointer for the sign of Gamma(x).
72 * since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0
73 * Hence, for x<0, signgam = sign(sin(pi*x)) and
200 /* sin(pi*x) assuming x > 2^-1000, if sin(pi*x)==0 the sign is arbitrary */
227 int sign = u.i.se >> 15; local
236 if (sign) {
242 if (sign) {
254 /* purge off 1 and 2 (so the sign is ok with downward rounding) */
336 if (sign)
[all...]
/haiku/src/libs/agg/src/
H A Dagg_bezier_arc.cpp184 double sign = (large_arc_flag == sweep_flag) ? -1.0 : 1.0; local
186 double coef = sign * sqrt((sq < 0) ? 0 : sq);
210 sign = (uy < 0) ? -1.0 : 1.0;
214 double start_angle = sign * acos(v);
220 sign = (ux * vy - uy * vx < 0) ? -1.0 : 1.0;
224 double sweep_angle = sign * acos(v);
/haiku/src/libs/stdc++/legacy/
H A Diostream.cc506 static void write_int(ostream& stream, unsigned LONGEST val, int sign) argument
554 if (sign > 0 && (stream.flags() & ios::showpos))
563 if (sign < 0) len++;
577 if (sign < 0 || show_pos)
579 char ch = sign < 0 ? '-' : '+';
606 int sign = 1;
609 abs_n = -((unsigned)n), sign = -1;
610 write_int(*this, abs_n, sign);
633 int sign = 1;
636 abs_n = -((unsigned long)n), sign
[all...]
/haiku/src/libs/mapm/
H A Dmapm_set.c121 buf++; /* get past '-' sign */
162 int i, j, zflag, exponent, sign; local
208 sign = 1; /* assume number is positive */
210 if (*p == '+') /* scan by optional '+' sign */
216 sign = -1;
293 ctmp->m_apm_sign = sign;
H A Dmapmfmul.c316 int ii, k, nexp, sign; local
338 sign = M_ain->m_apm_sign * M_bin->m_apm_sign;
407 rr->m_apm_sign = sign;
535 * if the sign of (A1 - A0)(B0 - B1) is positive, ADD to
606 sflag = 0; /* sign flag: assume the numbers are equal */
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutclib.c811 UINT32 sign; local
829 * The buffer may contain an optional plus or minus sign.
834 sign = ACPI_SIGN_NEGATIVE;
840 sign = ACPI_SIGN_POSITIVE;
844 sign = ACPI_SIGN_POSITIVE;
965 * If a minus sign was present, then "the conversion is negated":
967 if (sign == ACPI_SIGN_NEGATIVE)
/haiku/src/add-ons/accelerants/intel_extreme/
H A Doverlay.cpp45 uint8 sign; member in struct:phase_coefficient
52 sign, mantissa, and exponent.
60 int sign; local
62 sign = 1;
64 sign = 0;
95 splitCoefficient.sign = sign;
96 if (sign)
145 // split them into sign/mantissa/exponent
683 = coefficients[pos].sign << 1
[all...]
/haiku/src/libs/udis86/
H A Dsyn.c179 ud_syn_print_mem_disp(struct ud* u, const struct ud_operand *op, int sign) argument
205 ud_asmprintf(u, "%s0x%" FMT64 "x", sign? "+" : "", v);
/haiku/src/system/libroot/posix/stdlib/
H A Dstrtod.c367 int *decpt, int *sign, char **rve, char **resultp);
373 int k, maxwds, sign, wds; member in struct:Bigint
389 rv->sign = rv->wds = 0;
401 #define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign, \
795 c->sign = i;
964 d0 &= 0x7fffffff; /* clear sign bit, which we ignore */
1128 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local
1136 sign = nz0 = nz = 0;
1140 sign
[all...]
/haiku/src/system/libnetwork/netresolv/dst/
H A Ddst_internal.h90 int (*sign)(const int mode, DST_KEY *key, void **context, member in struct:dst_func
H A Ddst_api.c234 * in_key Contains a private key to sign with.
242 * &gt;0 success FINAL (sign) operation
257 if (in_key->dk_func && in_key->dk_func->sign)
258 return (in_key->dk_func->sign(mode, in_key, context, data, len,
349 /* before I read in the public key, check if it is allowed to sign */
H A Dhmac_link.c59 * Call HMAC signing functions to sign a block of data.
458 dst_t_func[KEY_HMAC_MD5]->sign = dst_hmac_md5_sign;
/haiku/src/tests/system/libroot/posix/
H A Dwcs_test.cpp18 static int sign (int a) function
144 int result = sign(wcscmp(a, b));
157 int result = sign(wcscmp(a, b));
170 int result = sign(wcscmp(a, b));
183 int result = sign(wcscmp(a, b));
196 int result = sign(wcscmp(a, b));
209 int result = sign(wcscmp(a, b));
222 int result = sign(wcscmp(a, b));
235 int result = sign(wcsncmp(a, b, 0));
248 int result = sign(wcsncm
[all...]
/haiku/src/libs/iconv/
H A Diconv.c533 int sign = strcmp(name1,name2); local
534 if (sign != 0) {
535 sign = ((name1[0]=='C' && name1[1]=='S') - (name2[0]=='C' && name2[1]=='S'))
536 * 4 + (sign >= 0 ? 1 : -1);
538 return sign;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300.h451 #define ah_total_iq_corr_meas ah_meas2.sign
454 int32_t sign[AR9300_MAX_CHAINS]; member in union:ath_hal_9300::__anon5
458 int32_t sign[AR9300_MAX_CHAINS]; member in union:ath_hal_9300::__anon6
462 int32_t sign[AR9300_MAX_CHAINS]; member in union:ath_hal_9300::__anon7
466 int32_t sign[AR9300_MAX_CHAINS]; member in union:ath_hal_9300::__anon8
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c3990 char sign; local
4010 sign = '+';
4013 sign = '-';
4018 "%s %c%04d", date_nozone, sign, zone );
4228 long long sign; local
4234 case '-': sign = -1; ++str; break;
4235 case '+': sign = 1; ++str; break;
4236 default: sign = 1; break;
4244 return sign * value;
/haiku/headers/libs/mapm/
H A Dm_apm.h510 int sign(void) const function in class:MAPM

Completed in 169 milliseconds

1234