Lines Matching refs:gmpnum_result
512 mpz_ptr gmpnum_op, gmpnum_result; in shift_operator_helper() local
516 INIT_GMP_RETVAL(gmpnum_result); in shift_operator_helper()
517 op(gmpnum_result, gmpnum_op, (unsigned long) Z_LVAL_P(op2)); in shift_operator_helper()
856 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result; in gmp_zval_binary_ui_op() local
885 INIT_GMP_RETVAL(gmpnum_result); in gmp_zval_binary_ui_op()
888 gmp_ui_op(gmpnum_result, gmpnum_a, (unsigned long) Z_LVAL_P(b_arg)); in gmp_zval_binary_ui_op()
890 gmp_op(gmpnum_result, gmpnum_a, gmpnum_b); in gmp_zval_binary_ui_op()
968 mpz_ptr gmpnum_a, gmpnum_result; in gmp_zval_unary_op() local
973 INIT_GMP_RETVAL(gmpnum_result); in gmp_zval_unary_op()
974 gmp_op(gmpnum_result, gmpnum_a); in gmp_zval_unary_op()
984 mpz_ptr gmpnum_result; in gmp_zval_unary_ui_op() local
986 INIT_GMP_RETVAL(gmpnum_result); in gmp_zval_unary_ui_op()
987 gmp_op(gmpnum_result, gmp_get_long(a_arg)); in gmp_zval_unary_ui_op()
1421 mpz_ptr gmpnum_result, gmpnum_base; local
1435 INIT_GMP_RETVAL(gmpnum_result);
1436 mpz_ui_pow_ui(gmpnum_result, Z_LVAL_P(base_arg), exp);
1439 INIT_GMP_RETVAL(gmpnum_result);
1440 mpz_pow_ui(gmpnum_result, gmpnum_base, exp);
1451 mpz_ptr gmpnum_base, gmpnum_exp, gmpnum_mod, gmpnum_result; local
1483 INIT_GMP_RETVAL(gmpnum_result);
1485 mpz_powm_ui(gmpnum_result, gmpnum_base, (unsigned long) Z_LVAL_P(exp_arg), gmpnum_mod);
1487 mpz_powm(gmpnum_result, gmpnum_base, gmpnum_exp, gmpnum_mod);
1501 mpz_ptr gmpnum_a, gmpnum_result; local
1516 INIT_GMP_RETVAL(gmpnum_result);
1517 mpz_sqrt(gmpnum_result, gmpnum_a);
1557 mpz_ptr gmpnum_a, gmpnum_result; local
1577 INIT_GMP_RETVAL(gmpnum_result);
1578 mpz_root(gmpnum_result, gmpnum_a, (unsigned long) nth);
1705 mpz_ptr gmpnum_a, gmpnum_b, gmpnum_result; local
1716 INIT_GMP_RETVAL(gmpnum_result);
1717 res = mpz_invert(gmpnum_result, gmpnum_a, gmpnum_b);
1798 mpz_ptr gmpnum_result; local
1804 INIT_GMP_RETVAL(gmpnum_result);
1808 mpz_urandomb(gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * GMP_LIMB_BITS);
1810 mpz_urandomb(gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * __GMP_BITS_PER_MP_LIMB);
1820 mpz_ptr gmpnum_result; local
1831 INIT_GMP_RETVAL(gmpnum_result);
1834 mpz_urandomb(gmpnum_result, GMPG(rand_state), bits);
1843 mpz_ptr gmpnum_min, gmpnum_max, gmpnum_result; local
1862 INIT_GMP_RETVAL(gmpnum_result);
1871 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range);
1874 mpz_add_ui(gmpnum_result, gmpnum_result, Z_LVAL_P(min_arg));
1889 INIT_GMP_RETVAL(gmpnum_result);
1894 mpz_urandomm(gmpnum_result, GMPG(rand_state), gmpnum_range);
1895 mpz_add(gmpnum_result, gmpnum_result, gmpnum_min);