From bbe337bd03299a37b27320f3995f27739733aa60 Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Tue, 9 Dec 2014 08:28:00 -0500 Subject: [PATCH] Use correct FMA_ macros --- include/lmms_math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/lmms_math.h b/include/lmms_math.h index 156303136..3d23abcd3 100644 --- a/include/lmms_math.h +++ b/include/lmms_math.h @@ -132,7 +132,7 @@ static inline int fast_rand() //! @brief Takes advantage of fmal() function if present in hardware static inline long double fastFmal( long double a, long double b, long double c ) { -#ifdef FP_FAST_FMAF +#ifdef FP_FAST_FMAL #ifdef __clang__ return fma( a, b, c ); #else @@ -158,7 +158,7 @@ static inline float fastFmaf( float a, float b, float c ) { //! @brief Takes advantage of fma() function if present in hardware static inline double fastFma( double a, double b, double c ) { -#ifdef FP_FAST_FMAF +#ifdef FP_FAST_FMA return fma( a, b, c ); #else return a * b + c;