mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-22 13:27:46 +00:00
LibM: Implement tanf() in terms of tan() with casts
Lazy, but it works for now. :^)
This commit is contained in:
committed by
Andreas Kling
parent
115e8f5977
commit
caa8f3d3bf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user