SSBM Decomp
Loading...
Searching...
No Matches
math.h File Reference

Go to the source code of this file.

Macros

#define NAN   (0.0f / 0.0f)
#define HUGE_VALF   (1.0f / 0.0f)
#define INFINITY   (1.0f / 0.0f)
#define FP_NAN   1
#define FP_INFINITE   2
#define FP_ZERO   3
#define FP_NORMAL   4
#define FP_SUBNORMAL   5
#define fpclassify(x)
#define isfinite(x)

Functions

double fabs (double x)
double sin (double x)
double cos (double x)
float sinf (float x)
float cosf (float x)
float tanf (float x)
float acosf (float x)
float powf (float base, float exponent)
double ldexp (double x, int exp)
double scalbn (double x, int n)
double copysign (double x, double y)
double floor (double x)
float sqrtf (float x)
float sqrt (float x)
float fabsf (float x)
long __fpclassifyf (float x)
long __fpclassifyd (double x)
float fmodf (float x, float m)

Macro Definition Documentation

◆ NAN

#define NAN   (0.0f / 0.0f)

◆ HUGE_VALF

#define HUGE_VALF   (1.0f / 0.0f)

◆ INFINITY

#define INFINITY   (1.0f / 0.0f)

◆ FP_NAN

#define FP_NAN   1

◆ FP_INFINITE

#define FP_INFINITE   2

◆ FP_ZERO

#define FP_ZERO   3

◆ FP_NORMAL

#define FP_NORMAL   4

◆ FP_SUBNORMAL

#define FP_SUBNORMAL   5

◆ fpclassify

#define fpclassify ( x)
Value:
(sizeof(x) == sizeof(float) ? __fpclassifyf((float)(x)) : __fpclassifyd((double)(x)))
static s32 __fpclassifyd(double x)
Definition math.h:67
static s32 __fpclassifyf(float x)
Definition math.h:50

◆ isfinite

#define isfinite ( x)
Value:
#define FP_INFINITE
Definition math.h:87
#define fpclassify(x)
Definition math.h:83

Function Documentation

◆ fabs()

double fabs ( double x)

◆ sin()

double sin ( double x)

◆ cos()

double cos ( double x)

◆ sinf()

float sinf ( float x)

◆ cosf()

float cosf ( float x)

◆ tanf()

float tanf ( float x)

◆ acosf()

float acosf ( float x)

◆ powf()

float powf ( float base,
float exponent )

◆ ldexp()

double ldexp ( double x,
int exp )

◆ scalbn()

double scalbn ( double x,
int n )

◆ copysign()

double copysign ( double x,
double y )

◆ floor()

double floor ( double x)

◆ sqrtf()

float sqrtf ( float x)
externinline

◆ sqrt()

float sqrt ( float x)
externinline

◆ fabsf()

float fabsf ( float x)

◆ __fpclassifyf()

long __fpclassifyf ( float x)

◆ __fpclassifyd()

long __fpclassifyd ( double x)

◆ fmodf()

float fmodf ( float x,
float m )
inline