view modules/isnand @ 16498:e04c5a489c44

remainderf-ieee: Work around test failure on OSF/1. * m4/remainderf-ieee.m4: New file. * m4/remainderf.m4 (gl_FUNC_REMAINDERF): If gl_FUNC_REMAINDERF_IEEE is present, test whether remainderf works with a zero second argument. Replace it if not. * lib/math.in.h (remainderf): Override if REPLACE_REMAINDERF is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERF. * modules/math (Makefile.am): Substitute REPLACE_REMAINDERF. * modules/remainderf (configure.ac): Consider REPLACE_REMAINDERF. (Depends-on): Update conditions. * modules/remainderf-ieee (Files): Add m4/remainderf-ieee.m4. (Depends-on): Add remainder-ieee. (configure.ac): Invoke gl_FUNC_REMAINDERF_IEEE. * doc/posix-functions/remainderf.texi: Mention the remainderf-ieee module.
author Bruno Haible <bruno@clisp.org>
date Mon, 27 Feb 2012 19:33:31 +0100
parents 369a2b1bfba1
children 1f14c6dd175d
line wrap: on
line source

Description:
isnand() function: test for NaN.

Files:
lib/isnand.c
lib/isnan.c
lib/float+.h
m4/exponentd.m4
m4/isnand.m4

Depends-on:
math
fpieee
memcmp

configure.ac:
gl_FUNC_ISNAND
m4_ifdef([gl_ISNAN], [
  AC_REQUIRE([gl_ISNAN])
])
if test $HAVE_ISNAND = 0 || test $REPLACE_ISNAN = 1; then
  AC_LIBOBJ([isnand])
  gl_PREREQ_ISNAND
fi
gl_MATH_MODULE_INDICATOR([isnand])

Makefile.am:

Include:
<math.h>

Link:
$(ISNAND_LIBM)

License:
LGPL

Maintainer:
Bruno Haible