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

Functions

double floor (double x) double floor(x) double x
 
 if (j0< 20)
 
else if (j0 > 51)
 
 if ((i1 &i)==0)
 
 __HI (x)
 
 __LO (x)
 

Variables

static const double huge = 1.0e300
 
unsigned i
 
unsigned j
 
 i0 = __HI(x)
 
 i1 = __LO(x)
 
 j0 = ((i0 >> 20) & 0x7ff) - 0x3ff
 
 else
 
return x
 

Function Documentation

◆ __HI()

__HI ( x  )

◆ __LO()

__LO ( x  )

◆ floor()

double floor ( double  x)

◆ if() [1/3]

if ( (i1 &i = = 0)

◆ if() [2/3]

else if ( j0  ,
51   
)

◆ if() [3/3]

if ( )

Variable Documentation

◆ else

else
Initial value:
{
i = ((unsigned)(0xffffffff)) >> (j0 - 20)
T cLib_calcTimer(T *value)
Definition c_lib.h:74
unsigned i
Definition s_floor.c:37
j0
Definition s_floor.c:40

◆ huge

static double huge = 1.0e300
static

◆ i

Initial value:
{
int i0, i1, j0
i0
Definition s_floor.c:38
i1
Definition s_floor.c:39

◆ i0

i0 = __HI(x)

◆ i1

i1 = __LO(x)

◆ j

◆ j0

j0 = ((i0 >> 20) & 0x7ff) - 0x3ff

◆ x

return x