Commit 45724880 authored by David Reid's avatar David Reid

Use double-precision pi constant for ma_cos().

parent b9194641
...@@ -6077,7 +6077,7 @@ static MA_INLINE double ma_sqrt(double x) ...@@ -6077,7 +6077,7 @@ static MA_INLINE double ma_sqrt(double x)
static MA_INLINE double ma_cos(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) static MA_INLINE double ma_log10(double x)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment