Searched refs:sign (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dbcmath.h35 typedef enum {PLUS, MINUS} sign; typedef in typeref:enum:__anon31
41 sign n_sign;
/PHP_TRUNK/ext/standard/
H A Dcrypt_blowfish.c553 BF_word safety, sign, diff, tmp[2]; local
556 * There was a sign extension bug in older revisions of this function. While
581 * (0 means no bug, 1 means sign extension bug emulation) and a flag in the
592 sign = diff = 0;
604 * chars 2, 3, 4 in each four-char block, we set bit 7 of "sign" if sign
608 sign |= tmp[1] & 0x80;
622 * exactly the same result. If so and if "sign" is non-zero, which indicates
623 * that there was a non-benign sign extension, this means that we have a
632 sign <<
[all...]
H A Dversioning.c29 #define sign(n) ((n)<0?-1:((n)>0?1:0)) macro
120 return sign(found1 - found2);
165 compare = sign(l1 - l2);
/PHP_TRUNK/Zend/
H A Dzend_strtod.c420 int k, maxwds, sign, wds; member in struct:Bigint
499 rv->sign = rv->wds = 0;
513 #define Bcopy(x,y) memcpy((char *)&x->sign, (char *)&y->sign, \
942 c->sign = i;
1123 d0 &= 0x7fffffff; /* clear sign bit, which we ignore */
1442 ZEND_API char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sign, char **rve) argument
1444 /* Arguments ndigits, decpt, sign are similar to those
1494 /* set sign for everything, including 0's and NaNs */
1495 *sign
2042 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local
[all...]
H A Dzend_strtod.h29 ZEND_API char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sign, char **rve);
/PHP_TRUNK/ext/filter/
H A Dlogical_filters.c71 int sign = 0, digit = 0; local
76 sign = 1;
90 ctx_value = ((sign)?-1:1) * ((*(str++)) - '0');
104 if ( (!sign) && ctx_value <= (LONG_MAX-digit)/10 ) {
106 } else if ( sign && ctx_value >= (LONG_MIN+digit)/10) {
/PHP_TRUNK/main/
H A Dsnprintf.c66 static char * __cvt(double value, int ndigit, int *decpt, int *sign, int fmode, int pad) /* {{{ */ argument
81 *sign = 0;
91 p = zend_dtoa(value, fmode + 2, ndigit, decpt, sign, &rve);
125 static inline char *php_ecvt(double value, int ndigit, int *decpt, int *sign) /* {{{ */ argument
127 return(__cvt(value, ndigit, decpt, sign, 0, 1));
131 static inline char *php_fcvt(double value, int ndigit, int *decpt, int *sign) /* {{{ */ argument
133 return(__cvt(value, ndigit, decpt, sign, 1, 1));
140 int i, decpt, sign; local
142 digits = zend_dtoa(value, 2, ndigit, &decpt, &sign, NULL);
145 * Infinity or NaN, convert to inf or nan with sign
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregparse.c2507 int r, sign, is_num, exist_level; local
2518 sign = 1;
2538 sign = -1;
2598 *rback_num *= sign;
2620 int r, is_num, sign; local
2636 sign = 1;
2656 sign = -1;
2710 *rback_num *= sign;
2737 int r, is_num, sign; local
2754 sign
[all...]
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c2934 ** percent sign - "%" - followed by exactly two hexadecimal digits
20465 if( prefix ) *(--bufpt) = prefix; /* Add sign */
20560 /* The sign in front of the number */
21993 /* sign * significand * (10 ^ (esign * exponent)) */
21994 int sign = 1; /* sign of significand */ local
21997 int esign = 1; /* sign of exponent */
22023 /* get sign of significand */
22025 sign = -1;
22064 /* get sign o
[all...]

Completed in 148 milliseconds