Back to index

glibc  2.9
Functions
s_ldexp.c File Reference
#include <math.h>
#include "math_private.h"
#include <errno.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double __ldexp (double value, int exp)

Function Documentation

double __ldexp ( double  value,
int  exp 
)

Definition at line 24 of file s_ldexp.c.

{
       if(!__finite(value)||value==0.0) return value;
       value = __scalbn(value,exp);
       if(!__finite(value)||value==0.0) __set_errno (ERANGE);
       return value;
}

Here is the call graph for this function:

Here is the caller graph for this function: