Back to index

glibc  2.9
w_scalbl.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.


long double __scalbl (long double x, long double fn)

Function Documentation

long double __scalbl ( long double  x,
long double  fn 

Definition at line 39 of file w_scalbl.c.

#ifdef _IEEE_LIBM
       return __ieee754_scalbl(x,fn);
       long double z;
       z = __ieee754_scalbl(x,fn);
       if(_LIB_VERSION != _SVID_) return z;
       if(!(__finitel(z)||__isnanl(z))&&__finitel(x)) {
           return __kernel_standard(x,(double)fn,232); /* scalb overflow */
       if(z==0.0&&z!=x) {
           return __kernel_standard(x,(double)fn,233); /* scalb underflow */
#ifndef _SCALB_INT
       if(!__finitel(fn)) __set_errno (ERANGE);
       return z;

Here is the call graph for this function: