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

Functions

double __kernel_sin (double x, double y, int iy) double __kernel_sin(x
 
 if (ix< 0x3e400000)
 

Variables

static const static double double half = 5.00000000000000000000e-01
 
static const static double double S1 = -1.66666666666666324348e-01
 
static const static double double S2 = 8.33333333332248946124e-03
 
static const static double double S3 = -1.98412698298579493134e-04
 
static const static double double S4 = 2.75573137070700676789e-06
 
static const static double double S5 = -2.50507602534068634195e-08
 
static const static double double S6 = 1.58969099521155010221e-10
 
double y
 
double iy double x
 
int iy
 
int ix
 
 z = x * x
 
 v = z * x
 
 r = S2 + z * (S3 + z * (S4 + z * (S5 + z * S6)))
 

Function Documentation

◆ __kernel_sin()

double __kernel_sin ( double  x,
double  y,
int  iy 
)

◆ if()

if ( )

Variable Documentation

◆ half

const static double double half = 5.00000000000000000000e-01
static

◆ ix

ix
Initial value:
{
double z, r, v
z
Definition k_sin.c:72
r
Definition k_sin.c:74
v
Definition k_sin.c:73

◆ iy

int iy

◆ r

r = S2 + z * (S3 + z * (S4 + z * (S5 + z * S6)))

◆ S1

const static double double S1 = -1.66666666666666324348e-01
static

◆ S2

const static double double S2 = 8.33333333332248946124e-03
static

◆ S3

const static double double S3 = -1.98412698298579493134e-04
static

◆ S4

const static double double S4 = 2.75573137070700676789e-06
static

◆ S5

const static double double S5 = -2.50507602534068634195e-08
static

◆ S6

const static double double S6 = 1.58969099521155010221e-10
static

◆ v

v = z * x

◆ x

◆ y

◆ z

z = x * x