Use double-precision pi constant for ma_cos().

This commit is contained in:
David Reid
2020-03-28 10:39:20 +10:00
parent b919464161
commit 457248806b
+1 -1
View File
@@ -6077,7 +6077,7 @@ static MA_INLINE double ma_sqrt(double x)
static MA_INLINE double ma_cos(double x)
{
return ma_sin((MA_PI*0.5) - x);
return ma_sin((MA_PI_D*0.5) - x);
}
static MA_INLINE double ma_log10(double x)