diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-01-30 13:54:27 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-02-01 09:31:33 -0300 |
commit | 9c61303ebbdc6e727c89591bff3229c9fbfa438b (patch) | |
tree | 9d79dac55d17dd4c6ec0ae2a034f1b413ee3a8c4 /math/s_fmaf.c | |
parent | 42cc619dfbc44e263239c2de870bae11ad65810a (diff) | |
download | glibc-9c61303ebbdc6e727c89591bff3229c9fbfa438b.zip glibc-9c61303ebbdc6e727c89591bff3229c9fbfa438b.tar.gz glibc-9c61303ebbdc6e727c89591bff3229c9fbfa438b.tar.bz2 |
math: Remove bogus math implementations
The exp10, exp10l, fma, fmaf, and fmal default implementation do not
implement the appropriate semantics nor with an reasonable accuracy.
They are also not used by any supported port.
Diffstat (limited to 'math/s_fmaf.c')
-rw-r--r-- | math/s_fmaf.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/math/s_fmaf.c b/math/s_fmaf.c deleted file mode 100644 index 407531a..0000000 --- a/math/s_fmaf.c +++ /dev/null @@ -1,30 +0,0 @@ -/* Compute x * y + z as ternary operation. - Copyright (C) 1997-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library 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 - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - <https://www.gnu.org/licenses/>. */ - -#define NO_MATH_REDIRECT -#include <math.h> -#include <libm-alias-float.h> - -float -__fmaf (float x, float y, float z) -{ - return (x * y) + z; -} -#ifndef __fmaf -libm_alias_float (__fma, fma) -#endif |