Searched refs:carry (Results 1 - 6 of 6) sorted by relevance

/PHP_5_3/Zend/
H A Dzend_strtod.c675 ULong carry, y, z; local
707 carry = 0;
709 z = (*x & 0xffff) * y + (*xc & 0xffff) + carry;
710 carry = z >> 16;
711 z2 = (*x++ >> 16) * y + (*xc >> 16) + carry;
712 carry = z2 >> 16;
716 *xc = carry;
721 carry = 0;
724 z = (*x & 0xffff) * y + (*xc >> 16) + carry;
725 carry
1287 ULong carry, q, ys; local
[all...]
H A Dzend_operators.c1683 int carry=0; local
1702 carry=1;
1705 carry=0;
1711 carry=1;
1714 carry=0;
1720 carry=1;
1723 carry=0;
1727 carry=0;
1730 if (carry == 0) {
1736 if (carry) {
[all...]
/PHP_5_3/ext/bcmath/libbcmath/src/
H A Ddiv.c53 int carry, value; local
67 carry = 0;
71 value = *nptr-- * digit + carry;
73 carry = value / BASE;
76 if (carry != 0) *rptr = carry;
95 unsigned int qdig, qguess, borrow, carry; local
238 carry = 0;
241 val = (int) *ptr1 + (int) *ptr2-- + carry;
245 carry
[all...]
H A Ddoaddsub.c54 int carry, n1bytes, n2bytes; local
91 carry = 0;
94 *sumptr = *n1ptr-- + *n2ptr-- + carry;
97 carry = 1;
101 carry = 0;
107 /* Now add carry the longer integer part. */
112 *sumptr = *n1ptr-- + carry;
115 carry = 1;
119 carry = 0;
123 /* Set final carry
[all...]
H A Drecmul.c119 int count, carry; local
130 carry = 0;
133 /* Subtraction, carry is really borrow. */
135 *accp -= *valp-- + carry;
137 carry = 1;
140 carry = 0;
144 while (carry) {
145 *accp -= carry;
149 carry = 0;
154 *accp += *valp-- + carry;
[all...]
/PHP_5_3/ext/hash/
H A Dhash_whirlpool.c286 php_hash_uint32 b, carry; local
293 for (i = 31, carry = 0; i >= 0 && (carry != 0 || value != L64(0)); i--) {
294 carry += bitLength[i] + ((php_hash_uint32)value & 0xff);
295 bitLength[i] = (unsigned char)carry;
296 carry >>= 8;

Completed in 10 milliseconds