Revision 50, 0.5 kB
(checked in by peroutka, 16 years ago)
|
|
Rev | Line | |
---|
[50] | 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" |
---|