1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:12:08 +00:00

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

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;