atanl: Simplify for platforms where 'long double' == 'double'.
authorBruno Haible <bruno@clisp.org>
Tue, 11 Oct 2011 09:15:59 +0000 (11:15 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 11 Oct 2011 09:15:59 +0000 (11:15 +0200)
commit2394a603e7586e671226478e5b15d924c3841f42
treed8dcbe61441e6d2a0601d4dae37ec214637db09d
parentbf552416ee94157bd9aa4045b1622234fcf28e91
atanl: Simplify for platforms where 'long double' == 'double'.

* lib/atanl.c (atanl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New
alternative implementation.
* m4/atanl.m4 (gl_FUNC_ATANL): Require gl_LONG_DOUBLE_VS_DOUBLE.
Determine ATANL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
* modules/atanl (Depends-on): Add atan. Update conditions.
ChangeLog
lib/atanl.c
m4/atanl.m4
modules/atanl