view modules/modfl @ 17632:86af85d364e1 default tip

unistd: port readlink to Mac OS X 10.3.9 * lib/unistd.in.h (_GL_INCLUDING_UNISTD_H): New macro, to work around self-include problem in Mac OS X 10.3.9 when combined with readlink module. Problem reported by Klaus Zietler in <http://bugs.gnu.org/16825>.
author Paul Eggert <eggert@penguin.cs.ucla.edu>
date Tue, 25 Feb 2014 11:16:27 -0800
parents fdbe3125f81a
children
line wrap: on
line source

Description:
modfl() function: get signed integer and fractional parts.

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

Depends-on:
math
extensions
modf            [{ test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
isfinite        [{ test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
truncl          [{ test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
isinf           [{ test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]

configure.ac:
gl_FUNC_MODFL
if test $HAVE_MODFL = 0 || test $REPLACE_MODFL = 1; then
  AC_LIBOBJ([modfl])
fi
gl_MATH_MODULE_INDICATOR([modfl])

Makefile.am:

Include:
<math.h>

Link:
$(MODFL_LIBM)

License:
LGPL

Maintainer:
Bruno Haible