mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Use double-precision pi constant for ma_cos().
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user