<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<TITLE>Zpráva</TITLE>
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=037210710-31072005>Pri
praci s integery nenahrazovat, MOD je bezny operator.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=037210710-31072005>Pri
praci s Float Point pouzit funkci Frac (viz jakakoliv
kalkulacka,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=037210710-31072005>nebo
delphi/pascal).</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=037210710-31072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=037210710-31072005>Navic
je ta nahrada spatne.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=037210710-31072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=037210710-31072005>Vystup
= Vstup - INT(Vstup/16)*16;</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=037210710-31072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=037210710-31072005>A
zakladni rovnice je formalne spatne:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=037210710-31072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=037210710-31072005>Vystup
= Vstup mod 16;</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=037210710-31072005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=037210710-31072005>(operator <= neni prirazeni, ale mensi, nebo rovno,
vysledkem je obvykle boolean).</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=037210710-31072005><FONT face=Arial color=#0000ff
size=2> Slavek</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial
color=#0000ff size=2></FONT><BR>mam takovy problem jak mam matematicky zapsat
do rovnice ze se nema pouzivat desetina čast.<BR>Jde me o vzoreček který lépe
vysvetli instrukci MOD.<BR><BR>zatim jsem zbastlil toto:<BR><BR>INT je
oriznuti desetine části. A to je prave vono co nejak potrebuji logicky
zapsat.<BR><PRE><FONT face="Times New Roman, serif"><FONT style="FONT-SIZE: 16pt" size=4>Vystup = ABS(INT(Vstup / 16) * 16) – Vstup
</FONT></FONT></PRE>Vzoreček nahrazuje příkaz: <PRE><FONT face="Times New Roman, serif"><FONT style="FONT-SIZE: 16pt" size=4>Vystup <= Vstup mod 16;
</FONT></FONT></PRE></BLOCKQUOTE></BODY></HTML>