1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +00:00

Implemented llabs() in stdlib.h/cpp.

This commit is contained in:
Holden Green 2021-04-28 16:17:06 -07:00 committed by Andreas Kling
parent 4ce17721e3
commit 18a641f3f8
2 changed files with 6 additions and 0 deletions

View file

@ -713,6 +713,11 @@ int abs(int i)
return i < 0 ? -i : i;
}
long long int llabs(long long int i)
{
return i < 0 ? -i : i;
}
long int random()
{
return rand();