Back to index

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

Go to the source code of this file.

Functions

double __copysign (double x, double y)

Function Documentation

double __copysign ( double  x,
double  y 
)

Definition at line 29 of file s_copysign.c.

{
       u_int32_t hx,hy;
       GET_HIGH_WORD(hx,x);
       GET_HIGH_WORD(hy,y);
       SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
        return x;
}

Here is the caller graph for this function: