diff options
author | Bruno Haible <bruno@clisp.org> | 2011-10-17 23:51:21 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-11-06 02:36:24 +0100 |
commit | e657a45c9599559dead7bbadb320764d7362d209 (patch) | |
tree | 361b178bd7b1866ae19f819db53877eb7d626127 /lib/fmaf.c | |
parent | b8d5f042e8a565bab1d73a5d7f56db342ae51451 (diff) | |
download | gnulib-e657a45c9599559dead7bbadb320764d7362d209.tar.gz |
New module 'fmaf'.
* lib/math.in.h (fmaf): New declaration.
* lib/fmaf.c: New file.
* m4/fmaf.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whethern fmaf is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_FMAF, HAVE_FMAF, REPLACE_FMAF.
* modules/math (Makefile.am): Substitute GNULIB_FMAF, HAVE_FMAF,
REPLACE_FMAF.
* modules/fmaf: New file.
* doc/posix-functions/fmaf.texi: Mention the new module and the various
bugs.
Diffstat (limited to 'lib/fmaf.c')
-rw-r--r-- | lib/fmaf.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/fmaf.c b/lib/fmaf.c new file mode 100644 index 0000000000..d1f531059b --- /dev/null +++ b/lib/fmaf.c @@ -0,0 +1,20 @@ +/* Fused multiply-add. + Copyright (C) 2011 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* Written by Bruno Haible <bruno@clisp.org>, 2011. */ + +#define USE_FLOAT +#include "fma.c" |