mirror of
https://github.com/zeldaret/oot
synced 2026-07-11 15:18:59 -04:00
@@ -0,0 +1,34 @@
|
||||
#ifndef _FP_H_
|
||||
#define _FP_H_
|
||||
#include <ultra64.h>
|
||||
|
||||
extern f32 qNaN0x3FFFFF;
|
||||
extern f32 qNaN0x10000;
|
||||
extern f32 sNaN0x3FFFFF;
|
||||
|
||||
f32 floorf(f32 x);
|
||||
f64 floor(f64 x);
|
||||
s32 lfloorf(f32 x);
|
||||
s32 lfloor(f64 x);
|
||||
|
||||
f32 ceilf(f32 x);
|
||||
f64 ceil(f64 x);
|
||||
s32 lceilf(f32 x);
|
||||
s32 lceil(f64 x);
|
||||
|
||||
f32 truncf(f32 x);
|
||||
f64 trunc(f64 x);
|
||||
s32 ltruncf(f32 x);
|
||||
s32 ltrunc(f64 x);
|
||||
|
||||
f32 nearbyintf(f32 x);
|
||||
f64 nearbyint(f64 x);
|
||||
s32 lnearbyintf(f32 x);
|
||||
s32 lnearbyint(f64 x);
|
||||
|
||||
f32 roundf(f32 x);
|
||||
f64 round(f64 x);
|
||||
s32 lroundf(f32 x);
|
||||
s32 lround(f64 x);
|
||||
|
||||
#endif
|
||||
+13
-13
@@ -2162,19 +2162,19 @@ void SystemHeap_Init(void *start, u32 size);
|
||||
// ? func_800FCC24(?);
|
||||
// ? func_800FCC6C(?);
|
||||
// ? func_800FCD40(?);
|
||||
// ? func_800FCE80(?);
|
||||
// ? func_800FCF34(?);
|
||||
// ? func_800FCF54(?);
|
||||
// ? func_800FCFA0(?);
|
||||
// ? func_800FD0C4(?);
|
||||
// ? func_800FD210(?);
|
||||
f32 func_800FD250(f32 f12, f32 f14);
|
||||
// ? func_800FD338(?);
|
||||
// ? func_800FD390(?);
|
||||
// ? func_800FD3C8(?);
|
||||
// ? func_800FD400(?);
|
||||
// ? func_800FD438(?);
|
||||
// ? func_800FD470(?);
|
||||
f32 Math_tanf(f32 x);
|
||||
f32 Math_nearbyintf(f32 x);
|
||||
f32 Math_atanf_taylor_q(f32 x);
|
||||
f32 Math_atanf_taylor(f32 x);
|
||||
f32 Math_atanf_cfrac(f32 x);
|
||||
f32 Math_atanf(f32 x);
|
||||
f32 Math_atan2f(f32 y, f32 x);
|
||||
f32 Math_asinf(f32 x);
|
||||
f32 Math_acosf(f32 x);
|
||||
f32 ceilf(f32 x);
|
||||
f32 truncf(f32 x);
|
||||
f32 roundf(f32 x);
|
||||
f32 nearbyintf(f32 x);
|
||||
void SystemArena_CheckPointer(void* ptr, u32 size, const char* name, const char* action);
|
||||
void* SystemArena_Malloc(u32 size);
|
||||
void* SystemArena_MallocDebug(u32 size, const char* file, s32 line);
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define _MATH_H_
|
||||
|
||||
#define M_PI 3.14159265358979323846f
|
||||
#define M_SQRT2 1.41421356237309504880f
|
||||
#define FLT_MAX 340282346638528859811704183484516925440.0f
|
||||
|
||||
float sinf(float);
|
||||
|
||||
@@ -3141,7 +3141,6 @@ extern char D_80146238[];
|
||||
//extern ? D_8014AA38;
|
||||
//extern ? D_8014AA5C;
|
||||
//extern ? D_8014AA80;
|
||||
//extern ? D_8014AAC0;
|
||||
//extern ? D_8014B210;
|
||||
//extern ? D_8014B280;
|
||||
//extern ? D_8014B2E0;
|
||||
@@ -3848,7 +3847,6 @@ extern u32 D_8016B5F5;
|
||||
//extern ? D_80174DBC;
|
||||
//extern ? D_80174DC0;
|
||||
//extern ? D_801755D0;
|
||||
//extern ? D_80175600;
|
||||
extern u32 __osMalloc_FreeBlockTest_Enable;
|
||||
//extern ? D_80175640;
|
||||
//extern ? D_80175660;
|
||||
|
||||
Reference in New Issue
Block a user