Lines Matching refs:ldexpl
1 # ldexpl.m4 serial 16
13 dnl Persuade glibc <math.h> to declare ldexpl().
17 dnl Mac OS X 10.3 has ldexpl() in libc but doesn't declare it in <math.h>.
18 AC_CHECK_DECL([ldexpl], , [HAVE_DECL_LDEXPL=0], [[#include <math.h>]])
24 AC_CACHE_CHECK([whether ldexpl() can be used with libm],
33 [[return ldexpl (x, -1) > 0;]])],
57 [Define if the ldexpl() function is available.])
61 dnl Find libraries needed to link lib/ldexpl.c.
72 dnl Test whether ldexpl() can be used without linking with libm.
76 AC_CACHE_CHECK([whether ldexpl() can be used without linking with libm],
83 [[return ldexpl (x, -1) > 0;]])],
89 dnl Test whether ldexpl() works on finite numbers (this fails on AIX 5.1
95 AC_CACHE_CHECK([whether ldexpl works], [gl_cv_func_ldexpl_works],
104 long double ldexpl (long double, int);
110 volatile long double y = ldexpl (x, -1);
116 volatile long double y = ldexpl (x, 0);