LibC, LibM: Add functions needed to compile python3

This commit is contained in:
Emanuel Sprung 2019-11-11 14:08:20 +01:00 committed by Andreas Kling
parent 3042c942d8
commit e7affa24dc
Notes: sideshowbarker 2024-07-19 11:15:36 +09:00
7 changed files with 136 additions and 1 deletions

View file

@ -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;
}
}