You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
float scalbnf(float x, int exp) should wrap float ldexpf(float x, int exp) instead of doing x * exp2f((float)exp). These functions are equivalent because FLT_RADIX == 2.
This could be fixed by having scalbnf as an alias to ldexpf. Similar thing for scalblnf(float x, long exp) apart from casting long to int.
The text was updated successfully, but these errors were encountered:
float scalbnf(float x, int exp)
should wrapfloat ldexpf(float x, int exp)
instead of doingx * exp2f((float)exp)
. These functions are equivalent becauseFLT_RADIX == 2
.This could be fixed by having
scalbnf
as an alias toldexpf
. Similar thing forscalblnf(float x, long exp)
apart from castinglong
toint
.The text was updated successfully, but these errors were encountered: