ldexpl: Simplify for platforms where 'long double' == 'double'.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Oct 2011 21:35:54 +0000 (23:35 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 10 Oct 2011 21:35:54 +0000 (23:35 +0200)
commita3950b0d4237539d2e163b28b6a2197f92790ba0
tree7de1667865209c2ba3e2c0ebe56f59f0dc174985
parentf11a213a4e8dd404e90d2084a21e2746093747c4
ldexpl: Simplify for platforms where 'long double' == 'double'.

* lib/ldexpl.c (ldexpl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New
alternative implementation.
* m4/ldexpl.m4 (gl_FUNC_LDEXPL): Require gl_LONG_DOUBLE_VS_DOUBLE.
Determine LDEXPL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
* modules/ldexpl (Depends-on): Add ldexp. Update conditions.
ChangeLog
lib/ldexpl.c
m4/ldexpl.m4
modules/ldexpl