Home
last modified time | relevance | path

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

/PHP-7.3/ext/bcmath/libbcmath/src/
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 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 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()
258 qval->n_sign = ( n1->n_sign == n2->n_sign ? PLUS : MINUS ); in bc_divide()
259 if (bc_is_zero (qval)) qval->n_sign = PLUS; in bc_divide()
H A Drecmul.c62 temp->n_sign = PLUS;
250 _bc_shift_addsub (*prod, m2, n, d1->n_sign != d2->n_sign); in _bc_rec_mul()
285 pval->n_sign = ( n1->n_sign == n2->n_sign ? PLUS : MINUS ); in bc_multiply()
291 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 Draisemod.c52 temp->n_sign = (*num)->n_sign; in _bc_truncate()
H A Dnum2long.c72 if (num->n_sign == PLUS)
H A Dint2num.c77 if (neg) (*num)->n_sign = MINUS;
H A Dnum2str.c54 signch = ( num->n_sign == PLUS ? 0 : 1 ); /* Number of sign chars. */
H A Dinit.c54 temp->n_sign = PLUS;
H A Dbcmath.h41 sign n_sign; member

Completed in 30 milliseconds