HomeSort by: relevance | last modified time | path
    Searched refs:quot (Results 1 - 25 of 176) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/external/gpl2/groff/dist/src/libs/libgroff/
fmod.c 27 double quot = x/y; local
28 return x - (quot < 0.0 ? ceil(quot) : floor(quot)) * y;
  /src/usr.sbin/quot/
Makefile 5 PROG= quot
6 MAN= quot.8
  /src/external/lgpl3/gmp/dist/mpq/
div.c 36 mpq_div (mpq_ptr quot, mpq_srcptr op1, mpq_srcptr op2)
50 if (UNLIKELY (quot == op2))
54 mpq_set_ui (quot, 1, 1);
60 MPN_PTR_SWAP (PTR(NUM(quot)), ALLOC(NUM(quot)),
61 PTR(DEN(quot)), ALLOC(DEN(quot)));
64 SIZ(NUM(quot)) = SIZ(DEN(quot));
65 SIZ(DEN(quot)) = op2_size
    [all...]
  /src/external/lgpl3/gmp/dist/mpz/
cdiv_q.c 35 mpz_cdiv_q (mpz_ptr quot, mpz_srcptr dividend, mpz_srcptr divisor)
46 mpz_tdiv_qr (quot, rem, dividend, divisor);
49 mpz_add_ui (quot, quot, 1L);
fdiv_q.c 35 mpz_fdiv_q (mpz_ptr quot, mpz_srcptr dividend, mpz_srcptr divisor)
46 mpz_tdiv_qr (quot, rem, dividend, divisor);
49 mpz_sub_ui (quot, quot, 1L);
cdiv_qr.c 35 mpz_cdiv_qr (mpz_ptr quot, mpz_ptr rem, mpz_srcptr dividend, mpz_srcptr divisor)
46 temporary space if it's the same variable as either QUOT or REM. */
47 if (quot == divisor || rem == divisor)
55 mpz_tdiv_qr (quot, rem, dividend, divisor);
59 mpz_add_ui (quot, quot, 1L);
fdiv_qr.c 35 mpz_fdiv_qr (mpz_ptr quot, mpz_ptr rem, mpz_srcptr dividend, mpz_srcptr divisor)
46 temporary space if it's the same variable as either QUOT or REM. */
47 if (quot == divisor || rem == divisor)
55 mpz_tdiv_qr (quot, rem, dividend, divisor);
59 mpz_sub_ui (quot, quot, 1L);
divexact.c 1 /* mpz_divexact -- finds quotient when known that quot * den == num && den != 0.
38 mpz_divexact (mpz_ptr quot, mpz_srcptr num, mpz_srcptr den)
64 SIZ(quot) = 0;
72 if (quot == num || quot == den)
75 qp = MPZ_NEWALLOC (quot, qn);
83 if (qp != PTR(quot))
84 MPN_COPY (MPZ_NEWALLOC (quot, qn), qp, qn);
86 SIZ(quot) = (SIZ(num) ^ SIZ(den)) >= 0 ? qn : -qn;
tdiv_q_ui.c 1 /* mpz_tdiv_q_ui(quot, dividend, divisor_limb)
2 -- Divide DIVIDEND by DIVISOR_LIMB and store the result in QUOT.
36 mpz_tdiv_q_ui (mpz_ptr quot, mpz_srcptr dividend, unsigned long int divisor)
48 SIZ(quot) = 0;
53 qp = MPZ_REALLOC (quot, nn);
63 SIZ(quot) = 0;
81 SIZ(quot) = ns >= 0 ? qn : -qn;
tdiv_qr_ui.c 1 /* mpz_tdiv_qr_ui(quot,rem,dividend,short_divisor) --
2 Set QUOT to DIVIDEND / SHORT_DIVISOR
37 mpz_tdiv_qr_ui (mpz_ptr quot, mpz_ptr rem, mpz_srcptr dividend, unsigned long int divisor)
49 SIZ(quot) = 0;
55 qp = MPZ_REALLOC (quot, nn);
67 SIZ(quot) = 0;
98 SIZ(quot) = ns >= 0 ? qn : -qn;
cdiv_q_ui.c 38 mpz_cdiv_q_ui (mpz_ptr quot, mpz_srcptr dividend, unsigned long int divisor)
50 SIZ(quot) = 0;
55 qp = MPZ_REALLOC (quot, nn);
100 SIZ(quot) = ns >= 0 ? qn : -qn;
fdiv_q_ui.c 36 mpz_fdiv_q_ui (mpz_ptr quot, mpz_srcptr dividend, unsigned long int divisor)
48 SIZ(quot) = 0;
53 qp = MPZ_REALLOC (quot, nn);
98 SIZ(quot) = ns >= 0 ? qn : -qn;
  /src/lib/libc/stdlib/
div.c 51 r.quot = num / denom;
54 * The ANSI standard says that |r.quot| <= |n/d|, where
61 * negative and r.quot has been truncated towards -inf,
63 * sign of num; if both are negative and r.quot has been
73 * In that case, to get the right answer, add 1 to r.quot and
77 r.quot++;
ldiv.c 53 r.quot = num / denom;
56 r.quot++;
imaxdiv.c 59 r.quot = num / denom;
62 r.quot++;
lldiv.c 59 r.quot = num / denom;
62 r.quot++;
qdiv.c 58 r.quot = num / denom;
61 r.quot++;
  /src/external/lgpl3/gmp/dist/tests/mpz/
dive.c 30 mpz_t prod, quot; local
50 mpz_init (quot);
78 mpz_divexact (quot, prod, op2);
79 MPZ_CHECK_FORMAT (quot);
81 if (mpz_cmp (quot, op1) != 0)
84 mpz_trace (" got ", quot);
96 mpz_clear (quot);
  /src/external/gpl2/gettext/dist/gettext-tools/examples/hello-c++-gnome/
autogen.sh 10 rm po/Rules-quot
13 rm po/en@quot.header
15 rm po/quot.sed
  /src/external/gpl2/gettext/dist/gettext-tools/examples/hello-c-gnome/
autogen.sh 10 rm po/Rules-quot
13 rm po/en@quot.header
15 rm po/quot.sed
  /src/external/gpl2/gettext/dist/gettext-tools/examples/hello-objc-gnome/
autogen.sh 10 rm po/Rules-quot
13 rm po/en@quot.header
15 rm po/quot.sed
  /src/external/gpl3/gcc/dist/libquadmath/math/
lgammaq_product.c 34 __float128 quot = t / xi; local
36 mul_splitq (&mhi, &mlo, quot, xi);
38 /* We want (1 + RET + RET_EPS) * (1 + QUOT + QUOT_LO) - 1. */
40 mul_splitq (&rhi, &rlo, ret, quot);
41 __float128 rpq = ret + quot;
42 __float128 rpq_eps = (ret - rpq) + quot;
45 ret_eps += (rpq_eps + nret_eps + rlo + ret_eps * quot
  /src/external/gpl3/gcc.old/dist/libquadmath/math/
lgammaq_product.c 34 __float128 quot = t / xi; local
36 mul_splitq (&mhi, &mlo, quot, xi);
38 /* We want (1 + RET + RET_EPS) * (1 + QUOT + QUOT_LO) - 1. */
40 mul_splitq (&rhi, &rlo, ret, quot);
41 __float128 rpq = ret + quot;
42 __float128 rpq_eps = (ret - rpq) + quot;
45 ret_eps += (rpq_eps + nret_eps + rlo + ret_eps * quot
  /src/external/gpl3/gcc/dist/libgcc/config/gcn/
lib2-divmod-di.c 29 struct {DItype quot, rem;} pair; member in struct:pack::__anon14243
33 struct {UDItype quot, rem;} pair; member in struct:upack::__anon14244
52 res.pair.quot |= bit;
84 res.pair.quot = -res.pair.quot;
95 return u.pair.quot;
112 return u.pair.quot;
lib2-divmod.c 29 struct {SItype quot, rem;} pair; member in struct:pack::__anon14245
33 struct {USItype quot, rem;} pair; member in struct:upack::__anon14246
52 res.pair.quot |= bit;
84 res.pair.quot = -res.pair.quot;
95 return u.pair.quot;
112 return u.pair.quot;

Completed in 67 milliseconds

1 2 3 4 5 6 7 8