Hash :
0874a582
Author :
Date :
2012-03-04T20:56:32
fmod, fmodl: Fix computation for large quotients x / y. * lib/fmod.c: Completely rewritten. * lib/fmodl.c (fmodl): Use implementation of fmod.c with USE_LONG_DOUBLE. * modules/fmod (Depends-on): Add isfinite, signbit, fabs, frexp, ldexp, isnand. Remove fma. * modules/fmodl (Depends-on): Add float, isfinite, signbit, fabsl, frexpl, ldexpl, isnanl. Remove fma. * m4/fmod.m4 (gl_FUNC_FMOD): Update computation of FMOD_LIBM. * m4/fmodl.m4 (gl_FUNC_FMODL): Update computation of FMODL_LIBM.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Description:
fmod() function: floating-point remainder function.
Files:
lib/fmod.c
m4/fmod.m4
m4/mathfunc.m4
Depends-on:
math
isfinite [test $REPLACE_FMOD = 1]
signbit [test $REPLACE_FMOD = 1]
fabs [test $REPLACE_FMOD = 1]
frexp [test $REPLACE_FMOD = 1]
trunc [test $REPLACE_FMOD = 1]
ldexp [test $REPLACE_FMOD = 1]
isnand [test $REPLACE_FMOD = 1]
isinf [test $REPLACE_FMOD = 1]
configure.ac:
gl_FUNC_FMOD
if test $REPLACE_FMOD = 1; then
AC_LIBOBJ([fmod])
fi
gl_MATH_MODULE_INDICATOR([fmod])
Makefile.am:
Include:
<math.h>
Link:
$(FMOD_LIBM)
License:
LGPL
Maintainer:
Bruno Haible