1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 20:15:07 +00:00

LibM: Implement pow()

This commit is contained in:
Valtteri Koskivuori 2019-12-10 16:37:09 +02:00 committed by Andreas Kling
parent d8daa08359
commit b8ac14a873

View file

@ -60,10 +60,8 @@ double sin(double angle)
double pow(double x, double y)
{
(void)x;
(void)y;
ASSERT_NOT_REACHED();
return 0;
//FIXME: Extremely unlikely to be standards compliant.
return exp(y * log(x));
}
double ldexp(double, int exp)