mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 12:52:13 +00:00
LibC, LibM: Add functions needed to compile python3
This commit is contained in:
parent
3042c942d8
commit
e7affa24dc
7 changed files with 136 additions and 1 deletions
|
@ -301,4 +301,10 @@ float ceilf(float value)
|
|||
}
|
||||
return as_int + 1;
|
||||
}
|
||||
|
||||
double modf(double x, double* intpart)
|
||||
{
|
||||
*intpart = (double)((int)(x));
|
||||
return x - (int)x;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue