sinl: Simplify for platforms where 'long double' == 'double'.
authorBruno Haible <bruno@clisp.org>
Tue, 11 Oct 2011 00:59:23 +0000 (02:59 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 11 Oct 2011 01:01:22 +0000 (03:01 +0200)
commit030dc7afa953442437474140ac98ab4f8db56bc8
tree84a5b6c8c42ee69de415d0d82b75d2668f58bf12
parent6d273f723651db3faff61a76569eb44d8750b5f1
sinl: Simplify for platforms where 'long double' == 'double'.

* lib/sinl.c (sinl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative
implementation.
* m4/sinl.m4 (gl_FUNC_SINL): Require gl_LONG_DOUBLE_VS_DOUBLE.
Determine SINL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
* modules/sinl (Depends-on): Add sin. Update conditions.
(configure.ac): Don't compile sincosl.c and trigl.c if
HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
ChangeLog
lib/sinl.c
m4/sinl.m4
modules/sinl