Home | History | Annotate | Download | only in m4

Lines Matching full:frexpl

0 # frexpl.m4 serial 20
12 dnl Persuade glibc <math.h> to declare frexpl().
16 dnl Mac OS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
17 AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [[#include <math.h>]])
23 AC_CACHE_CHECK([whether frexpl() can be used with libm],
32 [[int e; return frexpl (x, &e) > 0;]])],
56 [Define if the frexpl() function is available.])
60 dnl Find libraries needed to link lib/frexpl.c.
76 dnl Mac OS X 10.3 has frexpl() in libc but doesn't declare it in <math.h>.
77 AC_CHECK_DECL([frexpl], , [HAVE_DECL_FREXPL=0], [[#include <math.h>]])
88 dnl Set REPLACE_FREXPL here because the system may have frexpl in libm.
93 [Define if the frexpl() function is available in libc.])
98 dnl Test whether frexpl() can be used without linking with libm.
102 AC_CACHE_CHECK([whether frexpl() can be used without linking with libm],
109 [[int e; return frexpl (x, &e) > 0;]])],
115 dnl Test whether frexpl() works on finite numbers (this fails on
123 AC_CACHE_CHECK([whether frexpl works], [gl_cv_func_frexpl_works],
152 long double frexpl (long double, int *);
161 frexpl (x, &exp);
165 /* Test on finite numbers that fails on Mac OS X 10.4, because its frexpl
173 long double y = frexpl (x, &exp);
186 frexpl (x, &exp);
202 long double y = frexpl (x, &exp);
213 long double y = frexpl (x, &exp);