Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

fixedpt.h File Reference


Detailed Description

Definition in file fixedpt.h.

#include "global.h"

Go to the source code of this file.

Functions

void fixedptInit (u08 fixedPtBits)
 fixedptInit() initializes fixed-point math function library
s32 fixedptConvertFromInt (s32 int_number)
 convert integer to fixed-point number
s32 fixedptConvertToInt (s32 fp_number)
 convert fixed-point number to integer
s32 fixedptAdd (s32 a, s32 b)
 add a and b (a+b) with fixed-point math
s32 fixedptSubtract (s32 a, s32 b)
 subtract a and b (a-b) with fixed-point math
s32 fixedptMultiply (s32 a, s32 b)
 multiply a and b (a*b) with fixed-point math
s32 fixedptDivide (s32 numer, s32 denom)
 divide numer by denom (numer/denom) with fixed-point math


Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by  doxygen 1.4.2