Searched refs:sign (Results 1 - 25 of 79) sorted by path

1234

/haiku/headers/libs/mapm/
H A Dm_apm.h510 int sign(void) const function in class:MAPM
/haiku/headers/libs/udis86/libudis86/
H A Dsyn.h47 void ud_syn_print_mem_disp(struct ud* u, const struct ud_operand *, int sign);
/haiku/src/apps/glteapot/
H A DTeapotApp.cpp22 TeapotApp::TeapotApp(const char* sign) argument
24 BApplication(sign)
H A DTeapotApp.h16 TeapotApp(const char* sign);
/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/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/libs/mapm/
H A Dmapm_add.c62 int j, carry, sign, aexp, bexp, adigits, bdigits; local
99 sign = a->m_apm_sign; /* signs are the same, result will be same */
180 r->m_apm_sign = sign;
187 int itmp, j, flag, icompare, sign, aexp, bexp, local
243 sign = a->m_apm_sign;
248 sign = -(a->m_apm_sign);
322 r->m_apm_sign = sign;
H A Dmapm_div.c125 int j, k, m, b0, sign, nexp, indexr, icompare, iterations; local
140 sign = a->m_apm_sign * b->m_apm_sign;
142 if (sign == 0) /* one number is zero, result is zero */
331 r->m_apm_sign = sign;
H A Dmapm_mul.c86 int ai, itmp, sign, nexp, ii, jj, indexa, indexb, index0, numdigits; local
90 sign = a->m_apm_sign * b->m_apm_sign;
93 if (sign == 0) /* one number is zero, result is zero */
176 r->m_apm_sign = sign;
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/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/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/kernel/lib/
H A Dkernel_vsprintf.cpp143 char c, sign, tmp[66]; local
156 sign = sign_symbol(flags, (int64)num < 0);
159 if (sign)
162 sign = 0;
185 if (sign)
186 outBuffer.PutCharacter(sign);
223 char sign; local
225 sign = sign_symbol(flags, value < 0.0);
261 if (sign)
262 outBuffer.PutCharacter(sign);
[all...]
/haiku/src/system/libroot/os/arch/sparc/
H A Dfpu_implode.c162 * to the sign of the overflowing result. If false, overflow is to go
166 toinf(struct fpemu *fe, int sign) argument
182 inf = sign == 0;
186 inf = sign;
204 int sign, exp; local
206 sign = fp->fp_sign;
228 if (i >= ((uint32_t)0x80000000 + sign))
230 return (sign ? -i : i);
237 return (0x7fffffff + sign);
253 int sign, ex local
305 uint32_t sign = fp->fp_sign << 31; local
393 uint32_t sign = fp->fp_sign << 31; local
455 uint32_t sign = fp->fp_sign << 31; local
[all...]
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dmpn2flt.c29 __mpn_construct_float (mp_srcptr frac_ptr, int expt, int sign) argument
33 u.ieee.negative = sign;
H A Dmpn2ldbl.c30 __mpn_construct_long_double (mp_srcptr frac_ptr, int expt, int sign) argument
34 u.ieee.negative = sign;
/haiku/src/system/libroot/posix/glibc/include/
H A Dgmp.h18 extern float __mpn_construct_float (mp_srcptr frac_ptr, int expt, int sign);
24 int sign);
/haiku/src/system/libroot/posix/glibc/misc/
H A Defgcvt.c63 APPEND (FUNC_PREFIX, fcvt) (value, ndigit, decpt, sign)
65 int ndigit, *decpt, *sign;
69 if (APPEND (FUNC_PREFIX, fcvt_r) (value, ndigit, decpt, sign,
78 (void) APPEND (FUNC_PREFIX, fcvt_r) (value, ndigit, decpt, sign,
86 APPEND (FUNC_PREFIX, ecvt) (value, ndigit, decpt, sign)
88 int ndigit, *decpt, *sign;
90 (void) APPEND (FUNC_PREFIX, ecvt_r) (value, ndigit, decpt, sign,
H A Defgcvt_r.c58 APPEND (FUNC_PREFIX, fcvt_r) (value, ndigit, decpt, sign, buf, len)
60 int ndigit, *decpt, *sign;
77 *sign = signbit (value) != 0;
78 if (*sign)
102 *sign = 0;
157 APPEND (FUNC_PREFIX, ecvt_r) (value, ndigit, decpt, sign, buf, len)
159 int ndigit, *decpt, *sign;
206 *sign = isfinite (value) ? signbit (value) != 0 : 0;
210 decpt, sign, buf, len))
/haiku/src/tests/kits/locale/
H A DCollatorTest.cpp33 int sign[3]; member in struct:Test
58 CPPUNIT_ASSERT_EQUAL(tests[i].sign[strength - 1], difference);
61 // are 0, or both have the same sign.
/haiku/src/tests/system/libroot/posix/
H A Dlocale_test.cpp1582 static int sign (int a) function
1607 result = sign(strcmp(sortKeyA, sortKeyB));
1611 result = sign(strcoll(coll[i].a, coll[i].b));
/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/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/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

Completed in 125 milliseconds

1234