Fix compilation in clang

This commit is contained in:
David Capello 2014-09-21 16:50:08 -03:00
parent e07f1f1668
commit 64b8b8ef82

View File

@ -211,7 +211,7 @@ fixed fixsqrt(fixed x)
// Fixed point sqrt (x*x+y*y) for non-i386.
fixed fixhypot(fixed x, fixed y)
{
return ftofix(std::hypot(fixtof(x), fixtof(y)));
return ftofix(hypot(fixtof(x), fixtof(y)));
}
// Fixed point inverse tangent. Does a binary search on the tan table.