view modules/isnanf @ 40211:5f58d2ac35ea

unistr/u8-cmp: Fix undefined behaviour. Reported by Jeffrey Walton <noloader@gmail.com>. * lib/unistr/u8-cmp.c (u8_cmp): Don't invoke memcmp if n is zero.
author Bruno Haible <bruno@clisp.org>
date Fri, 08 Mar 2019 20:38:22 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
isnanf() function: test for NaN.

Files:
lib/isnanf.c
lib/isnan.c
lib/float+.h
m4/exponentf.m4
m4/isnanf.m4

Depends-on:
math
fpieee
memcmp

configure.ac:
gl_FUNC_ISNANF
m4_ifdef([gl_ISNAN], [
  AC_REQUIRE([gl_ISNAN])
])
if test $HAVE_ISNANF = 0 || test $REPLACE_ISNAN = 1; then
  AC_LIBOBJ([isnanf])
  gl_PREREQ_ISNANF
fi
gl_MATH_MODULE_INDICATOR([isnanf])

Makefile.am:

Include:
<math.h>

Link:
$(ISNANF_LIBM)

License:
LGPL

Maintainer:
all