view modules/log10f-ieee @ 16747:676471a1cb33

log10f-ieee: Work around test failure on NetBSD 5.1. * m4/log10f-ieee.m4: New file. * m4/log10f.m4 (gl_FUNC_LOG10F): If gl_FUNC_LOG10F_IEEE is present, test whether log10f works with a negative argument. Replace it if not. * lib/log10f.c (log10f): For negative arguments, return NaN. * modules/log10f-ieee (Files): Add m4/log10f-ieee.m4. (configure.ac): Invoke gl_FUNC_LOG10F_IEEE. * doc/posix-functions/log10f.texi: Mention the log10f-ieee module.
author Bruno Haible <bruno@clisp.org>
date Sun, 01 Apr 2012 17:56:33 +0200
parents 17a69e4fda06
children
line wrap: on
line source

Description:
log10f() function according to ISO C 99 with IEC 60559.

Files:
m4/log10f-ieee.m4

Depends-on:
log10f
fpieee
log10-ieee      [test $HAVE_LOG10F = 0 || test $REPLACE_LOG10F = 1]

configure.ac:
gl_FUNC_LOG10F_IEEE

Makefile.am:

Include:
<math.h>

Link:
$(LOG10F_LIBM)

License:
LGPL

Maintainer:
Bruno Haible