diff options
Diffstat (limited to 'tests/tsin_cos.c')
-rw-r--r-- | tests/tsin_cos.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tsin_cos.c b/tests/tsin_cos.c index 3430766e8..db7e6493e 100644 --- a/tests/tsin_cos.c +++ b/tests/tsin_cos.c @@ -50,7 +50,7 @@ check53 (const char *xs, const char *sin_xs, const char *cos_xs, { mpfr_t xx, s, c; - mpfr_inits2 (53, xx, s, c, NULL); + mpfr_inits2 (53, xx, s, c, (void *) 0); mpfr_set_str1 (xx, xs); /* should be exact */ mpfr_sin_cos (s, c, xx, rnd_mode); if (mpfr_cmp_str1 (s, sin_xs)) @@ -71,7 +71,7 @@ check53 (const char *xs, const char *sin_xs, const char *cos_xs, printf(", expected %s\n", cos_xs); exit (1); } - mpfr_clears (xx, s, c, NULL); + mpfr_clears (xx, s, c, (void *) 0); } static void @@ -79,7 +79,7 @@ check53sin (const char *xs, const char *sin_xs, mp_rnd_t rnd_mode) { mpfr_t xx, s, c; - mpfr_inits2 (53, xx, s, c, NULL); + mpfr_inits2 (53, xx, s, c, (void *) 0); mpfr_set_str1 (xx, xs); /* should be exact */ mpfr_sin_cos (s, c, xx, rnd_mode); if (mpfr_cmp_str1 (s, sin_xs)) @@ -91,7 +91,7 @@ check53sin (const char *xs, const char *sin_xs, mp_rnd_t rnd_mode) printf(", expected %s\n", sin_xs); exit (1); } - mpfr_clears (xx, s, c, NULL); + mpfr_clears (xx, s, c, (void *) 0); } static void @@ -99,7 +99,7 @@ check53cos (const char *xs, const char *cos_xs, mp_rnd_t rnd_mode) { mpfr_t xx, c, s; - mpfr_inits2 (53, xx, s, c, NULL); + mpfr_inits2 (53, xx, s, c, (void *) 0); mpfr_set_str1 (xx, xs); /* should be exact */ mpfr_sin_cos (s, c, xx, rnd_mode); if (mpfr_cmp_str1 (c, cos_xs)) @@ -111,7 +111,7 @@ check53cos (const char *xs, const char *cos_xs, mp_rnd_t rnd_mode) printf(", expected %s\n", cos_xs); exit (1); } - mpfr_clears (xx, s, c, NULL); + mpfr_clears (xx, s, c, (void *) 0); } static void |