Merge pull request #1480 from wanabe/patch-1

android doesn't have log2
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-08-18 19:07:03 -07:00
+4
View File
@@ -87,6 +87,10 @@ erfc(double x)
return one_sqrtpi*exp(-x*x)*q2;
}
#endif
#if (defined _MSC_VER && _MSC_VER < 1800) || defined __ANDROID__
double
log2(double x)
{