Commit 6dd9bb7c authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1480 from wanabe/patch-1

android doesn't have log2
parents 96ef9925 c9ac35f3
......@@ -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)
{
......
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