diff --git a/EngineMkI.cpp b/EngineMkI.cpp index a4a1709..2a88c7f 100644 --- a/EngineMkI.cpp +++ b/EngineMkI.cpp @@ -37,7 +37,8 @@ #ifdef _WIN32 #if _MSC_VER < 1800 FRAC_NUM log2(FRAC_NUM n) { - return log(n) / log(2.0); + //return log(n) / log(2.0); + return logf(n) / logf(2.0); } FRAC_NUM round(FRAC_NUM n) { return n < 0.0 ? ceil(n - 0.5) : floor(n + 0.5); @@ -81,7 +82,8 @@ EngineMkI::EngineMkI() { float bitReso = SINLOG_TABLESIZE; for(int i=0;i