mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00
LibM: Implement pow()
This commit is contained in:
parent
d8daa08359
commit
b8ac14a873
1 changed files with 2 additions and 4 deletions
|
@ -60,10 +60,8 @@ double sin(double angle)
|
||||||
|
|
||||||
double pow(double x, double y)
|
double pow(double x, double y)
|
||||||
{
|
{
|
||||||
(void)x;
|
//FIXME: Extremely unlikely to be standards compliant.
|
||||||
(void)y;
|
return exp(y * log(x));
|
||||||
ASSERT_NOT_REACHED();
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
double ldexp(double, int exp)
|
double ldexp(double, int exp)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue