Searched defs:sign (Results 1 - 25 of 38) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Datof.c26 int sign = 1; local
33 sign = -1;
39 e += i*sign;
H A Dmystrtoul.c261 char sign; local
266 sign = *str;
267 if (sign == '+' || sign == '-')
274 if (sign == '-')
277 else if (sign == '-' && uresult == PY_ABS_LONG_MIN) {
H A Dstrtod.c7 with bugfix for "123000.0" and acceptance of space after 'e' sign nuked.
67 int sign, scale, dotseen; local
77 sign = 1;
78 if (*sp == '-') sign -= 2, sp++;
140 /* Now the number is sign*0.fraction*10**expt */
143 return HUGE*sign;
146 if (strcmp(buforg, MDMAXFRAC) > 0) return HUGE*sign;
149 return ZERO*sign;
152 if (strcmp(buforg, MDMINFRAC) < 0) return ZERO*sign;
158 return atof(buffer)*sign;
[all...]
H A Dpystrtod.c20 "infinity", with an optional leading sign of "+" or "-". On success,
78 * is returned (according to the sign of the value), and %ERANGE is
158 /* We process the optional sign manually, then pass the remainder to
160 has the correct sign. (bug #1725) */
162 /* Process leading sign, if present */
424 /* Skip over the exponent and the sign. */
488 /* Skip leading sign, if present */
536 /* Skip leading sign, if present. I think this could only
792 1 for a possible sign
826 /* 3 for 'inf'/'nan', 1 for sign,
946 int decpt_as_int, sign, exp_len, exp = 0, use_exp = 0; local
[all...]
H A Ddtoa.c281 integers are stored in sign-magnitude format, with the magnitude stored as
293 - sign is 1 for negative Bigints, 0 for positive. The sign is unused
296 ignores signs on inputs but sets the sign of the output correctly.
305 int k, maxwds, sign, wds; member in struct:Bigint
361 rv->sign = rv->wds = 0;
406 rv->sign = rv->wds = 0;
422 #define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign, \
716 Bigint b will have been Bfree'd. Ignores the sign o
1493 int esign, i, j, k, lz, nd, nd0, odd, sign; local
2314 _Py_dg_dtoa(double dd, int mode, int ndigits, int *decpt, int *sign, char **rve) argument
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dmystrtoul.c261 char sign; local
266 sign = *str;
267 if (sign == '+' || sign == '-')
274 if (sign == '-')
277 else if (sign == '-' && uresult == PY_ABS_LONG_MIN) {
H A Dpystrtod.c20 "infinity", with an optional leading sign of "+" or "-". On success,
78 * is returned (according to the sign of the value), and %ERANGE is
158 /* We process the optional sign manually, then pass the remainder to
160 has the correct sign. (bug #1725) */
162 /* Process leading sign, if present */
424 /* Skip over the exponent and the sign. */
488 /* Skip leading sign, if present */
536 /* Skip leading sign, if present. I think this could only
792 1 for a possible sign
826 /* 3 for 'inf'/'nan', 1 for sign,
946 int decpt_as_int, sign, exp_len, exp = 0, use_exp = 0; local
[all...]
H A Ddtoa.c298 integers are stored in sign-magnitude format, with the magnitude stored as
310 - sign is 1 for negative Bigints, 0 for positive. The sign is unused
313 ignores signs on inputs but sets the sign of the output correctly.
322 int k, maxwds, sign, wds; member in struct:Bigint
378 rv->sign = rv->wds = 0;
423 rv->sign = rv->wds = 0;
439 #define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign, \
733 Bigint b will have been Bfree'd. Ignores the sign o
1510 int esign, i, j, k, lz, nd, nd0, odd, sign; local
2345 _Py_dg_dtoa(double dd, int mode, int ndigits, int *decpt, int *sign, char **rve) argument
[all...]
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
H A Dldtoa.c56 ldtoa(long double *ld, int mode, int ndigits, int *decpt, int *sign, char **rve) argument
76 *sign = (int)(u.extu_ext.ext_sign);
111 return dtoa((double)*ld, mode, ndigits, decpt, sign, rve);
H A Dgethex.c42 gethex( CONST char **sp, CONST FPI *fpi, Long *expt, Bigint **bp, int sign) argument
181 if (!sign)
185 if (sign) {
220 up = 1 - sign;
223 up = sign;
H A Dstrtod.c94 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local
108 sign = nz0 = nz = decpt = 0;
113 sign = 1;
152 switch((i = gethex(&s, &fpi, &expt, &bb, sign)) & STRTOG_Retmask) {
155 sign = 0;
304 sign = 0;
343 if (sign) {
345 sign = 0;
359 if (sign) {
361 sign
[all...]
H A Dstrtodg.c314 int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; local
325 denorm = sign = nz0 = nz = 0;
331 sign = 1;
338 sign = 0;
358 irv = gethex(&s, fpi, expt, &rvb, sign);
361 sign = 0;
498 rd = 2 - sign;
504 rd = 1 + sign;
735 dsign = delta->sign;
736 delta->sign
[all...]
H A Dgdtoaimp.h478 int k, maxwds, sign, wds; member in struct:Bigint
489 #define Bcopy(x,y) memcpy_D2A(&x->sign,&y->sign,y->wds*sizeof(ULong) + 2*sizeof(int))
491 #define Bcopy(x,y) memcpy(&x->sign,&y->sign,y->wds*sizeof(ULong) + 2*sizeof(int))
563 int *decpt, int *sign, char **rve);
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
H A De_sqrt.c113 int32_t sign = (int)0x80000000; local
126 if(((ix0&(~sign))|ix1)==0) return x;/* sqrt(+-0) = +-0 */
147 ix0 += ix0 + ((ix1&sign)>>31);
153 ix0 += ix0 + ((ix1&sign)>>31);
165 ix0 += ix0 + ((ix1&sign)>>31);
170 r = sign;
176 if(((t1&sign)==(u_int32_t)sign)&&(s1&sign)==0) s0 += 1;
182 ix0 += ix0 + ((ix1&sign)>>3
[all...]
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
H A Dstrftime.c472 char const * sign; local
542 sign = "-";
544 } else sign = "+";
545 pt = _add(sign, pt, ptlim);
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
H A Dvsnprintf_ss.c130 char sign; /* sign prefix (' ', '+', '-', or \0) */ local
175 sign = '\0';
185 if (!sign)
186 sign = ' ';
206 sign = '+';
264 sign = '\0';
274 sign = '-';
336 sign = '\0';
357 nosign: sign
[all...]
H A Dvfwprintf.c623 CHAR_T sign; /* sign prefix (' ', '+', '-', or \0) */ local
634 * A: 'sign' holds this value if present; '\0' otherwise
651 char softsign; /* temporary negative sign for floats */
667 int realsz; /* field size expanded by dprec, sign, etc */
879 sign = '\0';
896 if (!sign)
897 sign = ' ';
918 sign = '+';
1029 sign
1972 cvt(double value, int ndigits, int flags, char *sign, int *decpt, int ch, int *length) argument
[all...]
/device/google/contexthub/util/nanoapp_sign/
H A Dnanoapp_sign.c412 " -s : sign post-processed file\n"
433 bool sign = false; local
452 sign = true;
484 if (sign)
496 if (sign && !(keyPvtFile && keyPubFile))
541 if (sign)
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/
H A Dsubr_prf.c245 int base, lflag, qflag, tmp, width, ladjust, sharpflag, neg, sign, dot; local
273 sign = 0; dot = 0; dwidth = 0; upper = 0;
283 sign = 1;
363 sign = 1;
404 sign = 0;
412 if (sign)
449 sign = 1;
455 sign = 0;
491 if (sign && (intmax_t)num < 0) {
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
H A Dformatter.h118 /* returns true if this character is a sign element */
135 STRINGLIB_CHAR sign; member in struct:__anon3151
151 printf("internal format spec: sign %d\n", format->sign);
188 format->sign = '\0';
209 /* Parse the various sign options */
211 format->sign = ptr[0];
384 char sign; member in struct:__anon3153
385 Py_ssize_t n_sign; /* number of digits needed for sign (0/1) */
454 spec->sign
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
H A Dformatter.h120 /* returns true if this character is a sign element */
137 STRINGLIB_CHAR sign; member in struct:__anon3496
153 printf("internal format spec: sign %d\n", format->sign);
189 format->sign = '\0';
209 /* Parse the various sign options */
211 format->sign = ptr[0];
384 char sign; member in struct:__anon3498
385 Py_ssize_t n_sign; /* number of digits needed for sign (0/1) */
454 spec->sign
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dfloatobject.c721 /* ensure the remainder has the same sign as the denominator */
729 it has the same sign as the denominator; we'd like to do
760 /* ensure the remainder has the same sign as the denominator */
769 it has the same sign as the denominator; we'd like to do
782 /* div is zero - get the same sign as the true quotient */
784 floordiv = div * vx / wx; /* zero w/ sign of vx/wx */
851 * both cases, we need to add the appropriate sign if w is
871 /* use correct sign if iw is odd */
1088 int decpt, sign, val, halfway_case; local
1157 buf = _Py_dg_dtoa(x, 3, ndigits+halfway_case, &decpt, &sign,
1448 int half_eps, digit, round_up, sign=1; local
2307 unsigned char sign; local
2412 unsigned char sign; local
2541 unsigned char sign; local
2619 unsigned char sign; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A D_testcapimodule.c1163 int sign; member in struct:triple
1184 int sign = _PyLong_Sign(plong); local
1190 if (sign != testcases[i].sign)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dfloatobject.c720 /* ensure the remainder has the same sign as the denominator */
728 it has the same sign as the denominator; we'd like to do
759 /* ensure the remainder has the same sign as the denominator */
768 it has the same sign as the denominator; we'd like to do
781 /* div is zero - get the same sign as the true quotient */
783 floordiv = div * vx / wx; /* zero w/ sign of vx/wx */
850 * both cases, we need to add the appropriate sign if w is
870 /* use correct sign if iw is odd */
1087 int decpt, sign, val, halfway_case; local
1145 buf = _Py_dg_dtoa(x, 3, ndigits+halfway_case, &decpt, &sign,
1433 int half_eps, digit, round_up, sign=1; local
2292 unsigned char sign; local
2397 unsigned char sign; local
2526 unsigned char sign; local
2604 unsigned char sign; local
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Enquire/
H A DEnquire.c1509 Void typerr(char *name, int esign, int esize, int sign, int size) argument
1513 sign_of(sign), type_of(size));
1890 "but sign extend when used as integers.", co, oc);
3029 iexp=i+1; /* for the sign */

Completed in 191 milliseconds

12