LibM: Add nextafter() and nexttoward() stubs

Only thing missing for Python to build the _math module! :^)
This commit is contained in:
Linus Groh 2021-01-18 18:16:41 +01:00 committed by Andreas Kling
parent 8db54f9ef4
commit c46056122a
2 changed files with 37 additions and 0 deletions

View file

@ -563,4 +563,34 @@ double erfc(double x) NOEXCEPT
{
return 1 - erf(x);
}
double nextafter(double, double) NOEXCEPT
{
TODO();
}
float nextafterf(float, float) NOEXCEPT
{
TODO();
}
long double nextafterl(long double, long double) NOEXCEPT
{
TODO();
}
double nexttoward(double, long double) NOEXCEPT
{
TODO();
}
float nexttowardf(float, long double) NOEXCEPT
{
TODO();
}
long double nexttowardl(long double, long double) NOEXCEPT
{
TODO();
}
}

View file

@ -134,4 +134,11 @@ double hypot(double, double) NOEXCEPT;
double erf(double) NOEXCEPT;
double erfc(double) NOEXCEPT;
double nextafter(double, double) NOEXCEPT;
float nextafterf(float, float) NOEXCEPT;
long double nextafterl(long double, long double) NOEXCEPT;
double nexttoward(double, long double) NOEXCEPT;
float nexttowardf(float, long double) NOEXCEPT;
long double nexttowardl(long double, long double) NOEXCEPT;
__END_DECLS