SSBM Decomp
Loading...
Searching...
No Matches
math.h File Reference
#include <Runtime/platform.h>

Go to the source code of this file.

Macros

#define MSL_HI(x)
#define MSL_LO(x)
#define M_PI   3.14159265358979323846
#define M_PI_2   (M_PI / 2)
#define fpclassify(x)

Enumerations

enum  FloatType {
  FP_NAN = 1 ,
  FP_INFINITE = 2 ,
  FP_ZERO = 3 ,
  FP_NORMAL = 4 ,
  FP_SUBNORMAL = 5
}

Functions

static s32 __fpclassifyf (float x)
int __HI (double)
int __LO (double)
static s32 __fpclassifyd (double x)
double fabs (double)
double frexp (double x, int *exponent)
float acosf (float)
float asinf (float)
float atan2f (float y, float x)
float atanf (float)
float cos__Ff (float x)
float cosf (float)
float expf (float)
float fabsf (float)
float fabsf__Ff (float)
float logf (float)
float sin__Ff (float x)
float sinf (float)
float sqrt (double)
float sqrtf (float)
void __sinit_trigf_c (void)
static float fmodf (float a, float b)

Macro Definition Documentation

◆ MSL_HI

#define MSL_HI ( x)
Value:
*(int*) &x

◆ MSL_LO

#define MSL_LO ( x)
Value:
*(1 + (int*) &x)

◆ M_PI

#define M_PI   3.14159265358979323846

◆ M_PI_2

#define M_PI_2   (M_PI / 2)

◆ fpclassify

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

Enumeration Type Documentation

◆ FloatType

enum FloatType
Enumerator
FP_NAN 
FP_INFINITE 
FP_ZERO 
FP_NORMAL 
FP_SUBNORMAL 

Function Documentation

◆ __fpclassifyf()

s32 __fpclassifyf ( float x)
inlinestatic

◆ __HI()

int __HI ( double )
extern

◆ __LO()

int __LO ( double )
extern

◆ __fpclassifyd()

s32 __fpclassifyd ( double x)
inlinestatic

◆ fabs()

double fabs ( double )

◆ frexp()

double frexp ( double x,
int * exponent )

◆ acosf()

float acosf ( float x)

◆ asinf()

float asinf ( float x)

◆ atan2f()

float atan2f ( float y,
float x )

◆ atanf()

float atanf ( float )

◆ cos__Ff()

float cos__Ff ( float x)

◆ cosf()

float cosf ( float x)

◆ expf()

float expf ( float arg8)

◆ fabsf()

float fabsf ( float )

◆ fabsf__Ff()

float fabsf__Ff ( float param_1)

◆ logf()

float logf ( float x)

◆ sin__Ff()

float sin__Ff ( float x)

◆ sinf()

float sinf ( float x)

◆ sqrt()

float sqrt ( double )

◆ sqrtf()

float sqrtf ( float x)
inline

◆ __sinit_trigf_c()

void __sinit_trigf_c ( void )

◆ fmodf()

float fmodf ( float a,
float b )
inlinestatic