Back to index

glibc  2.9
Functions
s_copysignl.c File Reference
#include "math.h"
#include "math_private.h"

Go to the source code of this file.

Functions

long double __copysignl (long double x, long double y)

Function Documentation

long double __copysignl ( long double  x,
long double  y 
)

Definition at line 33 of file s_copysignl.c.

{
       u_int32_t es1,es2;
       GET_LDOUBLE_EXP(es1,x);
       GET_LDOUBLE_EXP(es2,y);
       SET_LDOUBLE_EXP(x,(es1&0x7fff)|(es2&0x8000));
        return x;
}

Here is the caller graph for this function: