From 9c61303ebbdc6e727c89591bff3229c9fbfa438b Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 30 Jan 2024 13:54:27 -0300 Subject: 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. --- math/s_fmaf.c | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 math/s_fmaf.c (limited to 'math/s_fmaf.c') 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 - . */ - -#define NO_MATH_REDIRECT -#include -#include - -float -__fmaf (float x, float y, float z) -{ - return (x * y) + z; -} -#ifndef __fmaf -libm_alias_float (__fma, fma) -#endif -- cgit v1.1