Bruno Haible
826cf481e0
log10-ieee: Work around test failure on NetBSD 5.1 and Solaris 11.
...
* m4/log10-ieee.m4: New file.
* m4/log10.m4 (gl_FUNC_LOG10): If gl_FUNC_LOG10_IEEE is present, test
whether log10 works with a negative argument. Replace it if not.
* lib/log10.c (log10): For negative arguments, return NaN.
* modules/log10-ieee (Files): Add m4/log10-ieee.m4.
(configure.ac): Invoke gl_FUNC_LOG10_IEEE.
* doc/posix-functions/log10.texi: Mention the log10-ieee module.
2012-04-01 17:10:01 +02:00
Bruno Haible
54be6af60f
log10: Work around OSF/1 5.1 bug.
...
* lib/math.in.h (log10): New declaration.
* lib/log10.c: New file.
* m4/log10.m4 (gl_FUNC_LOG10_WORKS): New macro.
(gl_FUNC_LOG10): Invoke it. Set REPLACE_LOG10.
* m4/math_h.m4 (gl_MATH_H): Test whether log10 is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG10, REPLACE_LOG10.
* modules/math (Makefile.am): Substitute GNULIB_LOG10, REPLACE_LOG10.
* modules/log10 (Files): Add lib/log10.c.
(Depends-on): Add math.
(configure.ac): If REPLACE_LOG10 is 1, compile an override.
* tests/test-math-c++.cc: Check the declaration of log10.
* doc/posix-functions/log10.texi: Mention the OSF/1 5.1 problem.
2012-04-01 16:37:08 +02:00
Karl Berry
80fc442c21
avoid some overlong lines from posix urls, etc.
2010-08-13 11:50:58 -07:00
Bruno Haible
8b893ddd37
New modules for common <math.h> functions.
2010-01-19 01:43:27 +01:00
Bruno Haible
09ef746111
Refer to new POSIX:2008 standard.
2008-12-14 14:38:13 +01:00
Bruno Haible
2b6c08c775
Rename two directories: headers -> posix-headers, functions -> posix-functions.
2008-01-20 00:09:59 +01:00