Back to index

lightning-sunbird  0.9+nobinonly
e_scalb.c File Reference
#include "fdlibm.h"

Go to the source code of this file.


double __ieee754_scalb (double x, double fn)

Function Documentation

double __ieee754_scalb ( double  x,
double  fn 

Definition at line 71 of file e_scalb.c.

#ifdef _SCALB_INT
       return fd_scalbn(x,fn);
       if (fd_isnan(x)||fd_isnan(fn)) return x*fn;
       if (!fd_finite(fn)) {
           if(fn>0.0) return x*fn;
           else       return x/(-fn);
       if (fd_rint(fn)!=fn) return (fn-fn)/(fn-fn);
       if ( fn > 65000.0) return fd_scalbn(x, 65000);
       if (-fn > 65000.0) return fd_scalbn(x,-65000);
       return fd_scalbn(x,(int)fn);

Here is the call graph for this function:

Here is the caller graph for this function: