mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-23 15:01:32 -04:00
4b30f1a654
* internal_rsp; move size_t and NULL to ultratypes.h * guint.h * Move system variables to os_system.h * controller, pi and vi * osint.h * piint.h * siint, ucode, viint, voiceinternal * Remove remaining variables from variables.h * format * final renames * bss * review * review
24 lines
300 B
C
24 lines
300 B
C
#ifndef PR_GUINT_H
|
|
#define PR_GUINT_H
|
|
|
|
#include "ultratypes.h"
|
|
|
|
typedef union {
|
|
f64 d;
|
|
struct {
|
|
u32 hi;
|
|
u32 lo;
|
|
} word;
|
|
} du;
|
|
|
|
typedef union {
|
|
u32 i;
|
|
f32 f;
|
|
} fu;
|
|
|
|
#define ROUND(x) (s32)(((x) >= 0.0) ? ((x) + 0.5) : ((x) - 0.5))
|
|
|
|
extern f32 __libm_qnan_f;
|
|
|
|
#endif
|