Mercurial > hg > octave-kai > gnulib-hg
view modules/fmaf @ 16497:3843e07f6df5
remainder-ieee: Work around test failure on OSF/1.
* m4/remainder-ieee.m4: New file.
* m4/remainder.m4 (gl_FUNC_REMAINDER): If gl_FUNC_REMAINDER_IEEE is
present, test whether remainder works with a zero second argument.
Replace it if not.
* lib/math.in.h (remainder): Override if REPLACE_REMAINDER is 1.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDER.
* modules/math (Makefile.am): Substitute REPLACE_REMAINDER.
* modules/remainder (configure.ac): Consider REPLACE_REMAINDER.
(Depends-on): Update dependencies.
* modules/remainder-ieee (Files): Add m4/remainder-ieee.m4.
(configure.ac): Invoke gl_FUNC_REMAINDER_IEEE.
* doc/posix-functions/remainder.texi: Mention the remainder-ieee module.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 27 Feb 2012 18:07:29 +0100 |
parents | b8acd8099b25 |
children | fdbe3125f81a |
line wrap: on
line source
Description: fmaf() function: fused multiply-add. Files: lib/fmaf.c lib/fma.c lib/float+.h m4/fmaf.m4 m4/fegetround.m4 m4/mathfunc.m4 Depends-on: math float [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] stdbool [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] verify [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] isfinite [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] integer_length [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] frexpf [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] ldexpf [test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1] configure.ac: gl_FUNC_FMAF if test $HAVE_FMAF = 0 || test $REPLACE_FMAF = 1; then AC_LIBOBJ([fmaf]) gl_PREREQ_FMAF fi gl_MATH_MODULE_INDICATOR([fmaf]) Makefile.am: Include: <math.h> Link: $(FMAF_LIBM) License: LGPL Maintainer: Bruno Haible