summaryrefslogtreecommitdiff
path: root/tests/tgeneric.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tgeneric.tpl')
-rw-r--r--tests/tgeneric.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tgeneric.tpl b/tests/tgeneric.tpl
index 45d984f..1b0d752 100644
--- a/tests/tgeneric.tpl
+++ b/tests/tgeneric.tpl
@@ -93,6 +93,7 @@ check_against_quadruple_precision (mpc_fun_param_t *params,
mpfr_exp_t exp_min, mpfr_exp_t exp_max,
int special)
{
+ static int rand_counter = 0;
mpc_operand_t *P = params->P; /* developer-friendly alias, used in macros */
set_input_precision (params, prec);
@@ -115,7 +116,9 @@ check_against_quadruple_precision (mpc_fun_param_t *params,
}
set_output_precision (params, prec);
+ set_mpfr_flags (rand_counter);
MPC_FUNCTION_CALL;
+ check_mpfr_flags (rand_counter++);
check_data (NULL, params, 0);
#ifdef MPC_FUNCTION_CALL_SYMMETRIC