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:
parent
4ce17721e3
commit
18a641f3f8
2 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue