Hash :
f96458bc
Author :
Date :
2011-10-09T15:42:35
New module 'copysignf'. * lib/math.in.h (copysignf): New declaration. * lib/copysignf.c: New file. * m4/copysignf.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether copysignf is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_COPYSIGNF, HAVE_COPYSIGNF. * modules/math (Makefile.am): Substitute GNULIB_COPYSIGNF, HAVE_COPYSIGNF. * modules/copysignf: New file. * tests/test-math-c++.cc: Check the declaration of copysignf. * doc/posix-functions/copysignf.texi: Mention the new module.
Description:
copysignf() function: copy sign into another 'float' number.
Files:
lib/copysignf.c
m4/copysignf.m4
m4/mathfunc.m4
Depends-on:
math
signbit [test $HAVE_COPYSIGNF = 0]
configure.ac:
gl_FUNC_COPYSIGNF
if test $HAVE_COPYSIGNF = 0; then
AC_LIBOBJ([copysignf])
fi
gl_MATH_MODULE_INDICATOR([copysignf])
Makefile.am:
Include:
<math.h>
Link:
$(COPYSIGNF_LIBM)
License:
LGPL
Maintainer:
Bruno Haible