LibM: Implement tanf() in terms of tan() with casts

Lazy, but it works for now. :^)
This commit is contained in:
Linus Groh 2021-03-13 22:04:01 +01:00 committed by Andreas Kling
parent 115e8f5977
commit caa8f3d3bf
Notes: sideshowbarker 2024-07-18 21:23:41 +09:00

View file

@ -445,6 +445,11 @@ double tan(double angle) NOEXCEPT
return ampsin(angle) / ampsin(M_PI_2 + angle);
}
float tanf(float angle) NOEXCEPT
{
return (float)tan((double)angle);
}
double sqrt(double x) NOEXCEPT
{
double res;