mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 00:42:54 +00:00
LibC, LibM: Add functions needed to compile python3
This commit is contained in:
parent
3042c942d8
commit
e7affa24dc
Notes:
sideshowbarker
2024-07-19 11:15:36 +09:00
Author: https://github.com/lnzero1dev
Commit: e7affa24dc
Pull-request: https://github.com/SerenityOS/serenity/pull/763
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/bugaevc
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