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:
parent
115e8f5977
commit
caa8f3d3bf
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue