acosl: Simplify for platforms where 'long double' == 'double'.
authorBruno Haible <bruno@clisp.org>
Tue, 11 Oct 2011 09:15:25 +0000 (11:15 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 11 Oct 2011 09:15:25 +0000 (11:15 +0200)
commitbf552416ee94157bd9aa4045b1622234fcf28e91
tree479d58d14fe0956e9ed7bddb60cf6d7db617d7f6
parent1f5817b9653bcf4e6ad534ce36df9a10c6f5fb6e
acosl: Simplify for platforms where 'long double' == 'double'.

* lib/acosl.c (acosl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New
alternative implementation.
* m4/acosl.m4 (gl_FUNC_ACOSL): Require gl_LONG_DOUBLE_VS_DOUBLE.
Determine ACOSL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
* modules/acosl (Depends-on): Add acos. Update conditions.
ChangeLog
lib/acosl.c
m4/acosl.m4
modules/acosl