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 | |
---|
8 | extern long prevod(double x, unsigned int posun); |
---|
9 | // prevod "x" do systemu "Qposun" |
---|
10 | extern double zprevod(long x, unsigned int posun); |
---|
11 | // prevod "x" ze systemu "Qposun" do DOUBLE |
---|
12 | extern long nasob(int x, int y,unsigned int posun); |
---|
13 | // (x*y)>>posun |
---|
14 | extern int deleni15(int x, int y); |
---|
15 | // (x*Q15/y) |
---|
16 | extern 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" |
---|