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

Functions

double __ieee754_fmod (double x, double y) double __ieee754_fmod(x
 
hyif ((hy|ly)==0||(hx >=0x7ff00000)||((hy|((ly|-ly) > > 31)) > 0x7ff00000))
 
 if (hx< 0x00100000)
 
 if (ix >=-1022) hx=0x00100000|(0x000fffff &hx)
 
 if (n<=31)
 
 if (iy >=-1022) hy=0x00100000|(0x000fffff &hy)
 
 while (n--)
 
 if (hz >=0)
 
 if ((hx|lx)==0)
 
 if (iy >=-1022)
 
 __HI (x)
 
 __LO (x)
 

Variables

static const double one = 1.0
 
static const double Zero []
 
double y double x = one
 
double y double y
 
unsigned lx
 
unsigned ly = __LO(y)
 
unsigned lz = lx - ly
 
 hx = __HI(x)
 
 hy = __HI(y)
 
 sx = hx & 0x80000000
 
else ix = (hx >> 20) - 1023
 
else iy = (hy >> 20) - 1023
 
 else
 
 n = ix - iy
 
 hz = hx - hy
 

Function Documentation

◆ __HI()

__HI ( x  )

◆ __ieee754_fmod()

double __ieee754_fmod ( double  x,
double  y 
)

◆ __LO()

__LO ( x  )

◆ if() [1/8]

if ( (hx|lx = = 0)

◆ if() [2/8]

hy & if ( (hy|ly = = 0 || (hx >= 0x7ff00000) ||  ((hy | ((ly | -ly) >> 31)) > 0x7ff00000))

◆ if() [3/8]

if ( )

◆ if() [4/8]

if ( hz >=  0)

◆ if() [5/8]

if ( ix >=-  1022) &
pure virtual

◆ if() [6/8]

if ( iy >=-  1022)

◆ if() [7/8]

if ( iy >=-  1022) &
pure virtual

◆ if() [8/8]

else if ( n<=  31)

◆ while()

while ( n--  )

Variable Documentation

◆ else

else
Initial value:
{
n = -1022 - ix
else ix
Definition e_fmod.c:71
n
Definition e_fmod.c:112

◆ hx

hx = __HI(x)

◆ hy

hy = __HI(y)

◆ hz

hz = hx - hy

◆ ix

else ix = (hx >> 20) - 1023

◆ iy

else iy = (hy >> 20) - 1023

◆ lx

lx
Initial value:
{
int n, hx, hy, hz, ix, iy, sx, i
hx
Definition e_fmod.c:42
sx
Definition e_fmod.c:46
else iy
Definition e_fmod.c:83
hy
Definition e_fmod.c:44
hz
Definition e_fmod.c:128
int i
Definition e_pow.c:165

◆ ly

ly = __LO(y)

◆ lz

lz = lx - ly

◆ n

n = ix - iy

◆ one

static double one = 1.0
static

◆ sx

sx = hx & 0x80000000

◆ x

x* return x = one

◆ y

◆ Zero

static double Zero
static
Initial value:
= {
0.0,
-0.0,
}