Hash :
472322ae
Author :
Date :
2011-10-10T00:25:43
copysignl: Simplify for platforms where 'long double' == 'double'. * lib/copysignl.c (copysignl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New alternative. * m4/copysignl.m4 (gl_FUNC_COPYSIGNL): Require gl_LONG_DOUBLE_VS_DOUBLE. Determine COPYSIGNL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE. * modules/copysignl (Depends-on): Add copysign. Update conditions.
Description:
copysignl() function: copy sign into another 'long double' number.
Files:
lib/copysignl.c
m4/copysignl.m4
m4/mathfunc.m4
Depends-on:
math
copysign [test $HAVE_COPYSIGNL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
signbit [test $HAVE_COPYSIGNL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_COPYSIGNL
if test $HAVE_COPYSIGNL = 0; then
AC_LIBOBJ([copysignl])
fi
gl_MATH_MODULE_INDICATOR([copysignl])
Makefile.am:
Include:
<math.h>
Link:
$(COPYSIGNL_LIBM)
License:
LGPL
Maintainer:
Bruno Haible