log2f-ieee: Work around test failure on NetBSD 5.1 and Solaris 10.
authorBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2012 21:14:04 +0000 (22:14 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 11 Mar 2012 22:33:39 +0000 (23:33 +0100)
commit3c7a0ee522192719470c8836a964fc6175fa6c96
tree9f61a849d9e86c0054b5027f7edd65f211fad29a
parent6bf08d5f7926a6e7d4f851bed1d4b63872a9ed2a
log2f-ieee: Work around test failure on NetBSD 5.1 and Solaris 10.

* m4/log2f-ieee.m4: New file.
* m4/log2f.m4 (gl_FUNC_LOG2F): If gl_FUNC_LOG2F_IEEE is present, test
whether log2f works with a minus zero argument. Replace it if not.
* modules/log2f-ieee (Files): Add m4/log2f-ieee.m4.
(Depends-on): Add log2-ieee.
(configure.ac): Invoke gl_FUNC_LOG2F_IEEE.
* doc/posix-functions/log2f.texi: Mention the log2f-ieee module.
ChangeLog
doc/posix-functions/log2f.texi
m4/log2f-ieee.m4 [new file with mode: 0644]
m4/log2f.m4
modules/log2f-ieee