Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
ansi_fp.c File Reference

Functions

static int __count_trailing_zerol (unsigned long x)
 
static int __count_trailing_zero (double x)
 
static int __must_round (const decimal *d, int digits)
 
static void __dorounddecup (decimal *d, int digits)
 
static void __rounddec (decimal *d, int digits)
 
void __ull2dec (decimal *result, unsigned long long val)
 
void __timesdec (decimal *result, const decimal *x, const decimal *y)
 
void __str2dec (decimal *d, const char *s, short exp)
 
void __two_exp (decimal *result, long exp)
 
int __equals_dec (const decimal *x, const decimal *y)
 
int __less_dec (const decimal *x, const decimal *y)
 
void __minus_dec (decimal *z, const decimal *x, const decimal *y)
 
void __num2dec_internal (decimal *d, double x)
 
void __num2dec (const decform *form, double x, decimal *d)
 

Variables

static const char *const unused = "179769313486231580793729011405303420"
 

Function Documentation

◆ __count_trailing_zero()

static int __count_trailing_zero ( double  x)
static

◆ __count_trailing_zerol()

static int __count_trailing_zerol ( unsigned long  x)
static

◆ __dorounddecup()

static void __dorounddecup ( decimal d,
int  digits 
)
static

◆ __equals_dec()

int __equals_dec ( const decimal x,
const decimal y 
)

◆ __less_dec()

int __less_dec ( const decimal x,
const decimal y 
)

◆ __minus_dec()

void __minus_dec ( decimal z,
const decimal x,
const decimal y 
)

◆ __must_round()

static int __must_round ( const decimal d,
int  digits 
)
static

◆ __num2dec()

void __num2dec ( const decform form,
double  x,
decimal d 
)

◆ __num2dec_internal()

void __num2dec_internal ( decimal d,
double  x 
)

◆ __rounddec()

static void __rounddec ( decimal d,
int  digits 
)
static

◆ __str2dec()

void __str2dec ( decimal d,
const char s,
short  exp 
)

◆ __timesdec()

void __timesdec ( decimal result,
const decimal x,
const decimal y 
)

◆ __two_exp()

void __two_exp ( decimal result,
long  exp 
)

◆ __ull2dec()

void __ull2dec ( decimal result,
unsigned long long  val 
)

Variable Documentation

◆ unused

const char* const unused = "179769313486231580793729011405303420"
static