mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
LibM: Add nextafter() and nexttoward() stubs
Only thing missing for Python to build the _math module! :^)
This commit is contained in:
parent
8db54f9ef4
commit
c46056122a
2 changed files with 37 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue