Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
ansi_fp.h
Go to the documentation of this file.
1#ifndef _MSL_COMMON_ANSI_FP_H
2#define _MSL_COMMON_ANSI_FP_H
3
4
5#define SIGDIGLEN 36
6
7typedef struct decimal {
8 char sign;
9 char unk1;
10 short exp;
11 struct {
12 unsigned char length;
13 unsigned char text[36];
14 unsigned char unk41;
15 } sig;
17
18typedef struct decform {
19 char style;
20 char unk1;
21 short digits;
23
24/* void __ull2dec(decimal*, u64);
25void __timesdec(decimal*, const decimal*, const decimal*);
26void __str2dec(decimal*, const char*, short);
27void __two_exp(decimal*, s32);
28BOOL __equals_dec(const decimal*, const decimal*);
29BOOL __less_dec(const decimal*, const decimal*);
30void __minus_dec(decimal*, const decimal*, const decimal*);
31void __num2dec_internal(decimal*, f64);
32void __num2dec(const decform*, f64, decimal*);
33f64 __dec2num(const decimal*); */
34
35#endif
Definition ansi_fp.h:18
short digits
Definition ansi_fp.h:21
char unk1
Definition ansi_fp.h:20
char style
Definition ansi_fp.h:19
Definition ansi_fp.h:7
struct decimal::@17 sig
short exp
Definition ansi_fp.h:10
unsigned char text[36]
Definition ansi_fp.h:13
char sign
Definition ansi_fp.h:8
unsigned char unk41
Definition ansi_fp.h:14
unsigned char length
Definition ansi_fp.h:12
char unk1
Definition ansi_fp.h:9