view modules/remainder @ 17448:b3516a31a386

regex: port to --with-included-regex --enable-gcc-warnings non-threaded * lib/regex_internal.h (lock_fini, lock_lock): Rework to avoid gcc warnings in the non-threaded case. Reported by Charlie Brown in <http://lists.gnu.org/archive/html/bug-gnulib/2013-07/msg00015.html>.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 09 Jul 2013 11:35:01 -0700
parents 8fec0d45d1a8
children
line wrap: on
line source

Description:
remainder() function: floating-point remainder function.

Files:
lib/remainder.c
m4/remainder.m4
m4/mathfunc.m4

Depends-on:
math
isfinite        [test $HAVE_REMAINDER = 0 || test $REPLACE_REMAINDER = 1]
signbit         [test $HAVE_REMAINDER = 0 || test $REPLACE_REMAINDER = 1]
fabs            [test $HAVE_REMAINDER = 0 || test $REPLACE_REMAINDER = 1]
fmod            [test $HAVE_REMAINDER = 0 || test $REPLACE_REMAINDER = 1]
isnand          [test $HAVE_REMAINDER = 0 || test $REPLACE_REMAINDER = 1]
isinf           [test $HAVE_REMAINDER = 0 || test $REPLACE_REMAINDER = 1]

configure.ac:
gl_FUNC_REMAINDER
if test $HAVE_REMAINDER = 0 || test $REPLACE_REMAINDER = 1; then
  AC_LIBOBJ([remainder])
fi
gl_MATH_MODULE_INDICATOR([remainder])

Makefile.am:

Include:
<math.h>

Link:
$(REMAINDER_LIBM)

License:
LGPL

Maintainer:
Bruno Haible