1 /* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. 2 * 3 * Permission to use, copy, modify, and distribute this software 4 * is freely granted, provided that this notice is preserved. 5 */ 6 7 #include "fdlibm.h" 8 9 #if !_HAVE_FAST_FMAF 10 11 #ifdef __clang__ 12 #pragma STDC FP_CONTRACT OFF 13 #endif 14 fmaf(float x,float y,float z)15float fmaf(float x, float y, float z) 16 { 17 /* 18 * Better to just get a double-rounded answer than invoke double 19 * precision operations and get exceptions messed up 20 */ 21 return x * y + z; 22 } 23 24 _MATH_ALIAS_f_fff(fma) 25 26 #endif 27