23 #ifndef _LIBRETRO_COMMON_MATH_H 24 #define _LIBRETRO_COMMON_MATH_H 28 #if defined(_WIN32) && !defined(_XBOX) 29 #define WIN32_LEAN_AND_MEAN 31 #elif defined(_WIN32) && defined(_XBOX) 43 #if !defined(USE_MATH_DEFINES) 44 #define M_PI 3.14159265358979323846264338327 49 #define MAX(a, b) ((a) > (b) ? (a) : (b)) 53 #define MIN(a, b) ((a) < (b) ? (a) : (b)) #define INLINE
Definition: retro_inline.h:35
static INLINE uint32_t next_pow2(uint32_t v)
Definition: retro_math.h:64
const GLdouble * v
Definition: glext.h:6391
static INLINE uint32_t prev_pow2(uint32_t v)
Definition: retro_math.h:84
unsigned int uint32_t
Definition: stdint.h:126