comparison lib/math.in.h @ 15893:792aac7b45c4

New module 'sinhf'. * lib/math.in.h (sinhf): New declaration. * lib/sinhf.c: New file. * m4/sinhf.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether sinhf is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_SINHF, HAVE_SINHF. * modules/math (Makefile.am): Substitute GNULIB_SINHF, HAVE_SINHF. * modules/sinhf: New file. * tests/test-math-c++.cc: Check the declaration of sinhf. * doc/posix-functions/sinhf.texi: Mention the new module.
author Bruno Haible <bruno@clisp.org>
date Sun, 09 Oct 2011 00:40:19 +0200
parents 52fb6ed99832
children df1794ad8606
comparison
equal deleted inserted replaced
15892:015ce14d35f2 15893:792aac7b45c4
747 #elif defined GNULIB_POSIXCHECK 747 #elif defined GNULIB_POSIXCHECK
748 # undef sinl 748 # undef sinl
749 # if HAVE_RAW_DECL_SINL 749 # if HAVE_RAW_DECL_SINL
750 _GL_WARN_ON_USE (sinl, "sinl is unportable - " 750 _GL_WARN_ON_USE (sinl, "sinl is unportable - "
751 "use gnulib module mathl for portability"); 751 "use gnulib module mathl for portability");
752 # endif
753 #endif
754
755
756 #if @GNULIB_SINHF@
757 # if !@HAVE_SINHF@
758 # undef sinhf
759 _GL_FUNCDECL_SYS (sinhf, float, (float x));
760 # endif
761 _GL_CXXALIAS_SYS (sinhf, float, (float x));
762 _GL_CXXALIASWARN (sinhf);
763 #elif defined GNULIB_POSIXCHECK
764 # undef sinhf
765 # if HAVE_RAW_DECL_SINHF
766 _GL_WARN_ON_USE (sinhf, "sinhf is unportable - "
767 "use gnulib module sinhf for portability");
752 # endif 768 # endif
753 #endif 769 #endif
754 770
755 771
756 #if @GNULIB_SQRTF@ 772 #if @GNULIB_SQRTF@