Home
last modified time | relevance | path

Searched refs:n_sign (Results 1 – 13 of 13) sorted by relevance

/PHP-7.0/ext/bcmath/libbcmath/src/
H A Dadd.c55 if (n1->n_sign == n2->n_sign)
58 sum->n_sign = n1->n_sign;
69 sum->n_sign = n2->n_sign;
80 sum->n_sign = n1->n_sign;
H A Dsub.c55 if (n1->n_sign != n2->n_sign)
58 diff->n_sign = n1->n_sign;
70 diff->n_sign = (n2->n_sign == PLUS ? MINUS : PLUS);
81 diff->n_sign = n1->n_sign;
H A Dcompare.c56 if (use_sign && n1->n_sign != n2->n_sign)
58 if (n1->n_sign == PLUS)
70 if (!use_sign || n1->n_sign == PLUS)
78 if (!use_sign || n1->n_sign == PLUS)
104 if (!use_sign || n1->n_sign == PLUS)
112 if (!use_sign || n1->n_sign == PLUS)
128 if (!use_sign || n1->n_sign == PLUS)
140 if (!use_sign || n1->n_sign == PLUS)
H A Dstr2num.c82 (*num)->n_sign = MINUS; in bc_str2num()
87 (*num)->n_sign = PLUS; in bc_str2num()
110 (*num)->n_sign = PLUS; in bc_str2num()
H A Ddiv.c109 qval->n_sign = (n1->n_sign == n2->n_sign ? PLUS : MINUS); in bc_divide()
261 qval->n_sign = ( n1->n_sign == n2->n_sign ? PLUS : MINUS ); in bc_divide()
262 if (bc_is_zero (qval)) qval->n_sign = PLUS; in bc_divide()
H A Drecmul.c71 temp->n_sign = PLUS;
259 _bc_shift_addsub (*prod, m2, n, d1->n_sign != d2->n_sign); in _bc_rec_mul()
294 pval->n_sign = ( n1->n_sign == n2->n_sign ? PLUS : MINUS ); in bc_multiply()
300 pval->n_sign = PLUS; in bc_multiply()
H A Dneg.c47 return num->n_sign == MINUS;
H A Doutput.c101 if (num->n_sign == MINUS) (*out_char) ('-'); in bc_out_num()
143 int_part->n_sign = PLUS; in bc_out_num()
144 frac_part->n_sign = PLUS; in bc_out_num()
H A Dnum2long.c65 if (num->n_sign == PLUS)
H A Dint2num.c77 if (neg) (*num)->n_sign = MINUS;
H A Dnum2str.c53 signch = ( num->n_sign == PLUS ? 0 : 1 ); /* Number of sign chars. */
H A Dinit.c67 temp->n_sign = PLUS;
H A Dbcmath.h41 sign n_sign; member

Completed in 19 milliseconds