Back to index

lightning-sunbird  0.9+nobinonly
s_ldexp.c File Reference
#include "fdlibm.h"
#include <errno.h>

Go to the source code of this file.


double fd_ldexp (double value, int exp)

Function Documentation

double fd_ldexp ( double  value,
int  exp 

Definition at line 58 of file s_ldexp.c.

       if(!fd_finite(value)||value==0.0) return value;
       value = fd_scalbn(value,exp);
       if(!fd_finite(value)||value==0.0) errno = ERANGE;
       return value;

Here is the call graph for this function: