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

Go to the source code of this file.

Functions

double fabs (double x)
 

Function Documentation

◆ fabs()

double fabs ( double  x)

Definition at line 22 of file s_fabs.c.

23{
24 u_int32_t high;
25 GET_HIGH_WORD(high,x);
26 SET_HIGH_WORD(x,high&0x7fffffff);
27 return x;
28}
GLint GLint GLint GLint GLint x
Definition: SDL_opengl.h:1574
unsigned int u_int32_t
Definition: math_private.h:31
#define SET_HIGH_WORD(d, v)
Definition: math_private.h:137
#define GET_HIGH_WORD(i, d)
Definition: math_private.h:109

References GET_HIGH_WORD, and SET_HIGH_WORD.

Referenced by __ieee754_atan2(), __ieee754_pow(), __ieee754_rem_pio2(), __kernel_tan(), atan(), and SDL_fabs().