ReactOS 0.4.16-dev-257-g6aa11ac
_copysign.c File Reference
#include "libm.h"
#include "libm_util.h"
Include dependency graph for _copysign.c:

Go to the source code of this file.

Functions

double FN_PROTOTYPE() _copysign (double x, double y)
 

Function Documentation

◆ _copysign()

double FN_PROTOTYPE() _copysign ( double  x,
double  y 
)

Definition at line 34 of file _copysign.c.

35{
36
37 unsigned long long ux, uy;
38 GET_BITS_DP64(x, ux);
39 GET_BITS_DP64(y, uy);
40 if ((ux ^ uy) & SIGNBIT_DP64)
42 return x;
43
44}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
#define GET_BITS_DP64(x, ux)
Definition: libm_util.h:118
#define SIGNBIT_DP64
Definition: libm_util.h:44
#define PUT_BITS_DP64(ux, x)
Definition: libm_util.h:124