Bruno Haible
810183441d
log-ieee: Work around test failure on NetBSD 5.1 and Solaris 11.
...
* m4/log-ieee.m4: New file.
* m4/log.m4 (gl_FUNC_LOG): If gl_FUNC_LOG_IEEE is present, test whether
log works with a negative argument. Replace it if not.
* lib/log.c (log): For negative arguments, return NaN.
* modules/log-ieee (Files): Add m4/log-ieee.m4.
(configure.ac): Invoke gl_FUNC_LOG_IEEE.
* doc/posix-functions/log.texi: Mention the log-ieee module.
2012-03-10 16:08:03 +01:00
Bruno Haible
0d37a2e600
log: Work around OSF/1 5.1 bug.
...
* lib/math.in.h (log): New declaration.
* lib/log.c: New file.
* m4/log.m4 (gl_FUNC_LOG_WORKS): New macro.
(gl_FUNC_LOG): Invoke it. Set REPLACE_LOG.
* m4/math_h.m4 (gl_MATH_H): Test whether log is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG, REPLACE_LOG.
* modules/math (Makefile.am): Substitute GNULIB_LOG, REPLACE_LOG.
* modules/log (Files): Add lib/log.c.
(Depends-on): Add math.
(configure.ac): If REPLACE_LOG is 1, compile an override.
* tests/test-math-c++.cc: Check the declaration of log.
* doc/posix-functions/log.texi: Mention the OSF/1 5.1 problem.
2012-03-10 10:37:40 +01: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