1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
Bruno Haible b3518f6017 sinl: Work around NetBSD 10.0 bug.
* lib/math.in.h (sinl): Consider REPLACE_SINL.
* m4/sinl.m4 (gl_FUNC_SINL): Test whether sinl works. Set REPLACE_SINL
to 1 if not.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_SINL.
* modules/math-h (Makefile.am): Substitute REPLACE_SINL.
* modules/sinl (configure.ac): Consider REPLACE_SINL.
* doc/posix-functions/sinl.texi: Mention the NetBSD bug.
2025-12-04 22:51:59 +01:00

48 lines
1.2 KiB
Plaintext

Description:
sinl() function: sine function with long double argument.
Files:
lib/sinl.c
lib/trigl.h
lib/sincosl.c
lib/trigl.c
m4/sinl.m4
Depends-on:
math-h
extensions
sin [{ test $HAVE_SINL = 0 || test $REPLACE_SINL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
float-h [{ test $HAVE_SINL = 0 || test $REPLACE_SINL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isnanl [{ test $HAVE_SINL = 0 || test $REPLACE_SINL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
floor [{ test $HAVE_SINL = 0 || test $REPLACE_SINL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
floorl [{ test $HAVE_SINL = 0 || test $REPLACE_SINL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
configure.ac:
gl_FUNC_SINL
gl_CONDITIONAL([GL_COND_OBJ_SINL],
[test $HAVE_SINL = 0 || test $REPLACE_SINL = 1])
AM_COND_IF([GL_COND_OBJ_SINL], [
if test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0; then
AC_LIBOBJ([sincosl])
AC_LIBOBJ([trigl])
fi
])
gl_MATH_MODULE_INDICATOR([sinl])
Makefile.am:
if GL_COND_OBJ_SINL
lib_SOURCES += sinl.c
endif
Include:
<math.h>
Link:
$(SINL_LIBM)
License:
LGPL
Maintainer:
Paolo Bonzini