1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:57:35 +00:00

LibM: Add scalbn and associated functions

Also implement ldexp in terms of them, and add ldexpl
This commit is contained in:
Mițca Dumitru 2021-03-07 22:23:57 +02:00 committed by Andreas Kling
parent 8f7aa1e03a
commit 87b61b0eef
3 changed files with 88 additions and 2 deletions

View file

@ -163,6 +163,13 @@ double nexttoward(double, long double) NOEXCEPT;
float nexttowardf(float, long double) NOEXCEPT;
long double nexttowardl(long double, long double) NOEXCEPT;
float scalbnf(float, int) NOEXCEPT;
double scalbn(double, int) NOEXCEPT;
long double scalbnl(long double, int) NOEXCEPT;
float scalbnlf(float, long) NOEXCEPT;
double scalbln(double, long) NOEXCEPT;
long double scalblnl(long double, long) NOEXCEPT;
double copysign(double x, double y);
__END_DECLS