ReflexBall Rally
 All Data Structures Files Functions Variables Macros
Functions
math.c File Reference
#include <eZ8.h>
#include <sio.h>
#include "math.h"
#include "lut.h"
Include dependency graph for math.c:

Go to the source code of this file.

Functions

long expand (long input)
 
void printNumber (long input, unsigned char decimalBits, unsigned char decimal)
 
void printFix (long input, unsigned char decimal)
 
long sin (int val)
 
long cos (int val)
 
void initVector (TVector *v, long x, long y)
 
void rotate (TVector *v, int val)
 
void printVector (TVector *v)
 

Function Documentation

long expand ( long  input)

Definition at line 6 of file math.c.

void printNumber ( long  input,
unsigned char  decimalBits,
unsigned char  decimal 
)

Definition at line 10 of file math.c.

void printFix ( long  input,
unsigned char  decimal 
)

Definition at line 33 of file math.c.

long sin ( int  val)

Definition at line 37 of file math.c.

long cos ( int  val)

Definition at line 41 of file math.c.

void initVector ( TVector v,
long  x,
long  y 
)

Definition at line 45 of file math.c.

void rotate ( TVector v,
int  val 
)

Definition at line 50 of file math.c.

void printVector ( TVector v)

Definition at line 60 of file math.c.