root/applications/pmsm/simulator_zdenek/ekf_example/fixed.h @ 1469

Revision 278, 504 bytes (checked in by smidl, 16 years ago)

props

  • Property svn:eol-style set to native
Line 
1/*
2   Operace v pevne radove carce
3   
4   9.10.2005
5*/
6
7
8extern long prevod(double x, unsigned int posun);
9// prevod "x" do systemu "Qposun"
10extern double zprevod(long x, unsigned int posun);
11// prevod "x" ze systemu "Qposun" do DOUBLE
12extern long nasob(int x, int y,unsigned int posun);
13// (x*y)>>posun
14extern int deleni15(int x, int y);
15// (x*Q15/y)
16extern int deleni(int x, int y, int posun1, int posun2, int scale, int posun_fin);
17// obecne deleni: x_"Qposun1"*"Qscale"/y_"Qposun2" -> "Q_posun_fin"
Note: See TracBrowser for help on using the browser.