32 #ifdef POK_NEEDS_LIBMATH
41 #include "math_private.h"
47 scalbf(
float x,
int fn)
50 scalbf(
float x,
float fn)
54 return __ieee754_scalbf(x,fn);
57 z = __ieee754_scalbf(x,fn);
58 if(_LIB_VERSION == _IEEE_)
return z;
59 if(!(finitef(z)||isnanf(z))&&finitef(x)) {
61 return (
float)__kernel_standard((
double)x,(
double)fn,132);
63 if(z==(
float)0.0&&z!=x) {
65 return (
float)__kernel_standard((
double)x,(
double)fn,133);
68 if(!finitef(fn)) errno = POK_ERRNO_ERANGE;