Back to index

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

Go to the source code of this file.

Functions

float __copysignf (float x, float y)

Function Documentation

float __copysignf ( float  x,
float  y 
)

Definition at line 32 of file s_copysignf.c.

{
       u_int32_t ix,iy;
       GET_FLOAT_WORD(ix,x);
       GET_FLOAT_WORD(iy,y);
       SET_FLOAT_WORD(x,(ix&0x7fffffff)|(iy&0x80000000));
        return x;
}

Here is the caller graph for this function: