mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00: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);
|
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 erf(double) NOEXCEPT;
|
||||||
double erfc(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
|
__END_DECLS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue