Lines Matching refs:fn
15 * __ieee754_scalb(x, fn) is provide for
24 double __ieee754_scalb(double x, int fn)
26 double __ieee754_scalb(x,fn)
27 double x; int fn;
31 double __ieee754_scalb(double x, double fn)
33 double __ieee754_scalb(x,fn)
34 double x, fn;
39 return ieee_scalbn(x,fn);
41 if (ieee_isnan(x)||ieee_isnan(fn)) return x*fn;
42 if (!ieee_finite(fn)) {
43 if(fn>0.0) return x*fn;
44 else return x/(-fn);
46 if (ieee_rint(fn)!=fn) return (fn-fn)/(fn-fn);
47 if ( fn > 65000.0) return ieee_scalbn(x, 65000);
48 if (-fn > 65000.0) return ieee_scalbn(x,-65000);
49 return ieee_scalbn(x,(int)fn);