SDL  2.0
s_copysign.c File Reference
#include "math_libm.h"
#include "math_private.h"
+ Include dependency graph for s_copysign.c:

Go to the source code of this file.

Functions

 libm_hidden_proto (copysign)
 

Function Documentation

◆ libm_hidden_proto()

libm_hidden_proto ( copysign  )

Definition at line 27 of file s_copysign.c.

References copysign, GET_HIGH_WORD, libm_hidden_def, and SET_HIGH_WORD.

34 {
35  u_int32_t hx, hy;
36  GET_HIGH_WORD(hx, x);
37  GET_HIGH_WORD(hy, y);
38  SET_HIGH_WORD(x, (hx & 0x7fffffff) | (hy & 0x80000000));
39  return x;
40 }
#define GET_HIGH_WORD(i, d)
Definition: math_private.h:103
GLint GLint GLint GLint GLint x
Definition: SDL_opengl.h:1574
#define SET_HIGH_WORD(d, v)
Definition: math_private.h:131
unsigned int u_int32_t
Definition: math_private.h:29
GLint GLint GLint GLint GLint GLint y
Definition: SDL_opengl.h:1574