summaryrefslogtreecommitdiff
path: root/tests/tsqrt_ui.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2002-04-05 07:21:21 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2002-04-05 07:21:21 +0000
commit2afb297b498598ee193d844235157d3bd8e4c6d0 (patch)
treec7598745386be8715db56b415cb6d9e054e62cd6 /tests/tsqrt_ui.c
parentb2189c290b8758184ca6810535b416869c060c1e (diff)
downloadmpfr-2afb297b498598ee193d844235157d3bd8e4c6d0.tar.gz
use AC_CHECK_HEADERS to check for fenv.h
and AC_CHECK_FUNCS to check for lrand48 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1813 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tsqrt_ui.c')
-rw-r--r--tests/tsqrt_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsqrt_ui.c b/tests/tsqrt_ui.c
index 69d475c86..843c11048 100644
--- a/tests/tsqrt_ui.c
+++ b/tests/tsqrt_ui.c
@@ -37,7 +37,7 @@ check (unsigned long a, mp_rnd_t rnd_mode, double Q)
mpfr_t q; double Q2; int u, ck;
mpfr_init2(q, 53);
-#ifdef HAVE_FENV
+#ifdef HAVE_FENV_H
mpfr_set_machine_rnd_mode(rnd_mode);
#endif
mpfr_sqrt_ui(q, a, rnd_mode);
@@ -59,7 +59,7 @@ check (unsigned long a, mp_rnd_t rnd_mode, double Q)
int
main (void)
{
-#ifdef HAVE_FENV
+#ifdef HAVE_FENV_H
int i;
unsigned long a;