/netbsd-6-1-5-RELEASE/external/lgpl2/mpc/dist/src/ |
H A D | log.c | 25 mpc_log (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd){ argument 37 mpfr_set_inf (MPC_RE (rop), +1); 39 mpfr_set_nan (MPC_RE (rop)); 40 mpfr_set_nan (MPC_IM (rop)); 45 mpfr_set_inf (MPC_RE (rop), +1); 47 mpfr_set_nan (MPC_RE (rop)); 48 mpfr_set_nan (MPC_IM (rop)); 52 inex_im = mpfr_atan2 (MPC_IM (rop), MPC_IM (op), MPC_RE (op), 54 mpfr_set_inf (MPC_RE (rop), +1); 64 inex_im = mpfr_atan2 (MPC_IM (rop), MPC_I [all...] |
H A D | add_si.c | 25 mpc_add_si (mpc_ptr rop, mpc_srcptr op1, long int op2, mpc_rnd_t rnd) argument 29 inex_re = mpfr_add_si (MPC_RE (rop), MPC_RE (op1), op2, MPC_RND_RE (rnd)); 30 inex_im = mpfr_set (MPC_IM (rop), MPC_IM (op1), MPC_RND_IM (rnd));
|
H A D | ui_ui_sub.c | 26 mpc_ui_ui_sub (mpc_ptr rop, unsigned long int re, unsigned long int im, argument 31 inex_re = mpfr_ui_sub (MPC_RE (rop), re, MPC_RE (op), MPC_RND_RE (rnd)); 32 inex_im = mpfr_ui_sub (MPC_IM (rop), im, MPC_IM (op), MPC_RND_IM (rnd));
|
H A D | sinh.c | 25 mpc_sinh (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 32 /* z := conj(-i * op) and rop = conj(-i * sin(z)), in other words, we have 37 MPC_RE (sin_z)[0] = MPC_IM (rop)[0]; 38 MPC_IM (sin_z)[0] = MPC_RE (rop)[0]; 42 /* sin_z and rop parts share the same significands, copy the rest now. */ 43 MPC_RE (rop)[0] = MPC_IM (sin_z)[0]; 44 MPC_IM (rop)[0] = MPC_RE (sin_z)[0];
|
H A D | tanh.c | 25 mpc_tanh (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 32 /* z := conj(-i * op) and rop = conj(-i * tan(z)), in other words, we have 37 MPC_RE (tan_z)[0] = MPC_IM (rop)[0]; 38 MPC_IM (tan_z)[0] = MPC_RE (rop)[0]; 42 /* tan_z and rop parts share the same significands, copy the rest now. */ 43 MPC_RE (rop)[0] = MPC_IM (tan_z)[0]; 44 MPC_IM (rop)[0] = MPC_RE (tan_z)[0];
|
H A D | sqr.c | 26 mpc_sqr (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 31 /* rop temporary variable to hold the real part of op, 32 needed in the case rop==op */ 40 mpfr_set_nan (MPC_RE (rop)); 41 mpfr_set_nan (MPC_IM (rop)); 45 mpfr_set_nan (MPC_RE (rop)); 46 mpfr_set_inf (MPC_IM (rop), 50 mpfr_set_inf (MPC_RE (rop), +1); 52 mpfr_set_nan (MPC_IM (rop)); 54 mpfr_set_inf (MPC_IM (rop), [all...] |
H A D | asin.c | 25 mpc_asin (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 37 mpfr_set_nan (MPC_RE (rop)); 38 mpfr_set_inf (MPC_IM (rop), mpfr_signbit (MPC_IM (op)) ? -1 : +1); 42 mpfr_set (MPC_RE (rop), MPC_RE (op), GMP_RNDN); 43 mpfr_set_nan (MPC_IM (rop)); 47 mpfr_set_nan (MPC_RE (rop)); 48 mpfr_set_nan (MPC_IM (rop)); 59 inex_re = set_pi_over_2 (MPC_RE (rop), -mpfr_signbit (MPC_RE (op)), 61 mpfr_set_inf (MPC_IM (rop), -mpfr_signbit (MPC_IM (op))); 64 mpfr_div_2ui (MPC_RE (rop), MPC_R [all...] |
H A D | exp.c | 25 mpc_exp (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 43 return mpc_set (rop, op, MPC_RNDNN); 48 return mpc_set_ui_ui (rop, 0, 0, MPC_RNDNN); 51 mpfr_set_inf (MPC_RE (rop), +1); 52 mpfr_set_nan (MPC_IM (rop)); 56 mpfr_set_nan (MPC_RE (rop)); 57 mpfr_set_nan (MPC_IM (rop)); 67 inex_re = mpfr_exp (MPC_RE(rop), MPC_RE(op), MPC_RND_RE(rnd)); 68 inex_im = mpfr_set (MPC_IM(rop), MPC_IM(op), MPC_RND_IM(rnd)); 75 inex_re = mpfr_cos (MPC_RE (rop), MPC_I [all...] |
H A D | acos.c | 26 mpc_acos (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 44 mpfr_set_inf (MPC_IM (rop), mpfr_signbit (MPC_IM (op)) ? +1 : -1); 45 mpfr_set_nan (MPC_RE (rop)); 49 inex_re = set_pi_over_2 (MPC_RE (rop), +1, MPC_RND_RE (rnd)); 50 mpfr_set_nan (MPC_IM (rop)); 54 mpfr_set_nan (MPC_RE (rop)); 55 mpfr_set_nan (MPC_IM (rop)); 70 set_pi_over_2 (MPC_RE (rop), +1, MPC_RND_RE (rnd)); 71 mpfr_div_2ui (MPC_RE (rop), MPC_RE (rop), [all...] |
H A D | cosh.c | 25 mpc_cosh (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 35 return mpc_cos (rop, z, rnd);
|
H A D | tan.c | 27 mpc_tan (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 45 inex = mpc_set_si_si (rop, 0, 53 mpfr_set_nan (MPC_RE (rop)); 54 mpfr_set_nan (MPC_IM (rop)); 64 mpc_set (rop, op, rnd); 70 mpfr_set_nan (MPC_RE (rop)); 71 mpfr_set_nan (MPC_IM (rop)); 86 mpfr_set_ui (MPC_RE (rop), 0, MPC_RND_RE (rnd)); 87 mpfr_setsign (MPC_RE (rop), MPC_RE (rop), sign_r [all...] |
H A D | atan.c | 24 /* set rop to 30 set_pi_over_2 (mpfr_ptr rop, int s, mpfr_rnd_t rnd) argument 34 inex = mpfr_const_pi (rop, s < 0 ? INV_RND (rnd) : rnd); 35 mpfr_div_2ui (rop, rop, 1, GMP_RNDN); 39 mpfr_neg (rop, rop, GMP_RNDN); 46 mpc_atan (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 64 mpfr_set_nan (MPC_RE (rop)); 67 mpfr_set_ui (MPC_IM (rop), [all...] |
H A D | asinh.c | 25 mpc_asinh (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 38 mpc_init3 (a, MPC_PREC_IM(rop), MPC_PREC_RE(rop)); 51 mpc_set (rop, a, MPC_RNDNN); /* exact */
|
H A D | atanh.c | 25 mpc_atanh (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 37 mpc_init3 (a, MPC_PREC_IM(rop), MPC_PREC_RE(rop)); 48 mpc_set (rop, a, rnd);
|
H A D | acosh.c | 25 mpc_acosh (mpc_ptr rop, mpc_srcptr op, mpc_rnd_t rnd) argument 39 mpfr_set_nan (MPC_RE (rop)); 40 mpfr_set_nan (MPC_IM (rop)); 45 mpc_init3 (a, MPC_PREC_IM(rop), MPC_PREC_RE(rop)); 72 mpc_set (rop, a, rnd);
|
H A D | strtoc.c | 35 mpc_strtoc (mpc_ptr rop, const char *nptr, char **endptr, int base, mpc_rnd_t rnd) { argument 53 inex_re = mpfr_strtofr (MPC_RE(rop), p, &end, base, MPC_RND_RE (rnd)); 59 inex_im = mpfr_set_ui (MPC_IM (rop), 0ul, GMP_RNDN); 66 inex_im = mpfr_strtofr (MPC_IM(rop), p, &end, base, MPC_RND_IM (rnd)); 85 mpfr_set_nan (MPC_RE (rop)); 86 mpfr_set_nan (MPC_IM (rop));
|
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpz/ |
H A D | urandomb.c | 1 /* mpz_urandomb (rop, state, n) -- Generate a uniform pseudorandom 26 mpz_urandomb (mpz_ptr rop, gmp_randstate_t rstate, mp_bitcnt_t nbits) argument 32 rp = MPZ_REALLOC (rop, size); 36 SIZ (rop) = size;
|
H A D | urandomm.c | 1 /* mpz_urandomm (rop, state, n) -- Generate a uniform pseudorandom 30 mpz_urandomm (mpz_ptr rop, gmp_randstate_t rstate, mpz_srcptr n) argument 59 SIZ (rop) = 0; 65 if (rop == n) 75 rp = MPZ_REALLOC (rop, size); 92 SIZ (rop) = size;
|
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/ |
H A D | urandom.c | 1 /* mpfr_urandom (rop, state, rnd_mode) -- Generate a uniform pseudorandom 2 real number between 0 and 1 (exclusive) and round it to the precision of rop 41 mpfr_urandom (mpfr_ptr rop, gmp_randstate_t rstate, mpfr_rnd_t rnd_mode) argument 52 rp = MPFR_MANT (rop); 53 nbits = MPFR_PREC (rop); 54 nlimbs = MPFR_LIMB_SIZE (rop); 55 MPFR_SET_POS (rop); 64 mpfr_set_ui_2exp (rop, 1, emin - 1, rnd_mode); 69 MPFR_SET_ZERO (rop); 99 mpfr_set_ui_2exp (rop, [all...] |
H A D | urandomb.c | 1 /* mpfr_urandomb (rop, state, nbits) -- Generate a uniform pseudorandom 43 mpfr_urandomb (mpfr_ptr rop, gmp_randstate_t rstate) argument 52 rp = MPFR_MANT (rop); 53 nbits = MPFR_PREC (rop); 54 nlimbs = MPFR_LIMB_SIZE (rop); 55 MPFR_SET_POS (rop); 79 if (mpfr_set_exp (rop, exp - cnt)) 86 MPFR_SET_NAN (rop); 96 MPFR_SET_ZERO (rop);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20021024-1.c | 12 void bar (unsigned rop, unsigned long long *r) argument 17 rs2 = (rop >> 23) & 0x1ff; 18 rs1 = (rop >> 9) & 0x1ff; 19 rd = rop & 0x1ff;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20021024-1.c | 12 void bar (unsigned rop, unsigned long long *r) argument 17 rs2 = (rop >> 23) & 0x1ff; 18 rs1 = (rop >> 9) & 0x1ff; 19 rd = rop & 0x1ff;
|
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpf/ |
H A D | urandomb.c | 1 /* mpf_urandomb (rop, state, nbits) -- Generate a uniform pseudorandom 27 mpf_urandomb (mpf_t rop, gmp_randstate_t rstate, mp_bitcnt_t nbits) argument 34 rp = PTR (rop); 36 prec = PREC (rop); 56 EXP (rop) = exp; 57 SIZ (rop) = nlimbs;
|
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpq/ |
H A D | aors.c | 29 mpq_aors (mpq_ptr rop, mpq_srcptr op1, mpq_srcptr op2, argument 69 mpz_set (&(rop->_mp_num), t); 70 mpz_mul (&(rop->_mp_den), &(op2->_mp_den), tmp2); 74 mpz_divexact_gcd (&(rop->_mp_num), t, gcd); 76 mpz_mul (&(rop->_mp_den), tmp1, tmp2); 85 (*fun) (&(rop->_mp_num), tmp1, tmp2); 86 mpz_mul (&(rop->_mp_den), &(op1->_mp_den), &(op2->_mp_den)); 93 mpq_add (mpq_ptr rop, mpq_srcptr op1, mpq_srcptr op2) argument 95 mpq_aors (rop, op1, op2, mpz_add); 99 mpq_sub (mpq_ptr rop, mpq_srcpt argument [all...] |
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/tests/rand/ |
H A D | gmpstat.h | 61 spectral_test (mpf_t rop[], unsigned int T, mpz_t a, mpz_t m); 63 vz_dot (mpz_t rop, mpz_t V1[], mpz_t V2[], unsigned int n); 65 f_floor (mpf_t rop, mpf_t op); 68 merit (mpf_t rop, unsigned int t, mpf_t v, mpz_t m); 73 void zdiv_round (mpz_t rop, mpz_t n, mpz_t d);
|