ReactOS 0.4.15-dev-8349-g6f277e9
_copysignf.c File Reference
#include "libm.h"
#include "libm_util.h"
Include dependency graph for _copysignf.c:

Go to the source code of this file.

Functions

float FN_PROTOTYPE() _copysignf (float x, float y)
 

Function Documentation

◆ _copysignf()

float FN_PROTOTYPE() _copysignf ( float  x,
float  y 
)

Definition at line 34 of file _copysignf.c.

35{
36 unsigned int ux, uy;
37 GET_BITS_SP32(x, ux);
38 GET_BITS_SP32(y, uy);
39 if ((ux ^ uy) & SIGNBIT_SP32)
41 return x;
42}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
#define GET_BITS_SP32(x, ux)
Definition: libm_util.h:105
#define SIGNBIT_SP32
Definition: libm_util.h:68
#define PUT_BITS_SP32(ux, x)
Definition: libm_util.h:111