Home
last modified time | relevance | path

Searched refs:sign (Results 1 – 5 of 5) sorted by relevance

/lib/mpi/
Dmpi-cmp.c30 if (u->sign) in mpi_cmp_ui()
53 if (!u->sign && v->sign) in mpi_cmp()
55 if (u->sign && !v->sign) in mpi_cmp()
57 if (usize != vsize && !u->sign && !v->sign) in mpi_cmp()
59 if (usize != vsize && u->sign && v->sign) in mpi_cmp()
66 if ((cmp < 0 ? 1 : 0) == (u->sign ? 1 : 0)) in mpi_cmp()
Dmpicoder.c60 val->sign = 0; in mpi_read_raw_data()
108 val->sign = 0; in mpi_read_from_buffer()
138 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign) in mpi_get_buffer() argument
145 if (sign) in mpi_get_buffer()
146 *sign = a->sign; in mpi_get_buffer()
189 int mpi_set_buffer(MPI a, const void *xbuffer, unsigned nbytes, int sign) in mpi_set_buffer() argument
199 a->sign = sign; in mpi_set_buffer()
Dmpi-pow.c55 esign = exp->sign; in mpi_powm()
56 msign = mod->sign; in mpi_powm()
69 res->sign = 0; in mpi_powm()
87 bsign = base->sign; in mpi_powm()
107 res->sign = 0; in mpi_powm()
168 negative_result = (ep[0] & 1) && base->sign; in mpi_powm()
304 res->sign = rsign; in mpi_powm()
Dmpiutil.c50 a->sign = 0; in mpi_alloc()
/lib/
Dvsprintf.c387 char sign; in number() local
398 sign = 0; in number()
401 sign = '-'; in number()
405 sign = '+'; in number()
408 sign = ' '; in number()
455 if (sign) { in number()
457 *buf = sign; in number()