mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-21 20:21:19 +00:00
Use a more modern way to set the fpu precision
This commit is contained in:
parent
8e323cb4ff
commit
4dc111e63f
1 changed files with 1 additions and 7 deletions
|
@ -52,12 +52,6 @@ typedef enum {
|
|||
FPU_EXCEPTION_INEXACT_RESULT = 32
|
||||
} fpuExceptions_t;
|
||||
|
||||
typedef enum {
|
||||
FPU_PRECISION_SINGLE = 0,
|
||||
FPU_PRECISION_DOUBLE = 1,
|
||||
FPU_PRECISION_DOUBLE_EXTENDED = 2
|
||||
} fpuPrecision_t;
|
||||
|
||||
typedef enum {
|
||||
AXIS_SIDE,
|
||||
AXIS_FORWARD,
|
||||
|
@ -158,7 +152,7 @@ const char * Sys_FPU_GetState( void );
|
|||
void Sys_FPU_EnableExceptions( int exceptions );
|
||||
|
||||
// sets the FPU precision
|
||||
void Sys_FPU_SetPrecision( int precision );
|
||||
void Sys_FPU_SetPrecision();
|
||||
|
||||
// sets Flush-To-Zero mode
|
||||
void Sys_FPU_SetFTZ( bool enable );
|
||||
|
|
Loading…
Reference in a new issue