mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05:00
fdf9086b2a
* Add dynamic actor IDs * Convert Ivan to use new actor system * attempt to fix linux build * attempt to fix linux build * merge * Cleanup * Fix missing math functions on Windows. * Removes a stubbed function to fix non-windows builds. * Update soh/soh/ActorDB.cpp Co-authored-by: Adam Bird <Archez@users.noreply.github.com> --------- Co-authored-by: Christopher Leggett <chris@leggett.dev> Co-authored-by: Adam Bird <Archez@users.noreply.github.com>
33 lines
502 B
C
33 lines
502 B
C
#ifndef FP_H
|
|
#define FP_H
|
|
#include <libultraship/libultra.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);
|
|
|
|
#endif
|