synopsis: INT ganzdiv(a,b,c)
description:computes the integer part of the division a / b. it works for INTEGER and LONGINT a and b. The varaibles a b c may be equal. c is freed first. You must be careful if you have a negativ object a. you compute the next smaller INTEGER, so a=-5, b=2 ==> c=-3. comprae this with INT quores().
return:OK or ERROR
bugs:sometimes you have POLYNOM etc. objects, which are integers, but you can not use this routine. e.g. the POLYNOM 4 [0,0,0] is the INTEGER object 4.
Send comments or suggestions to:
symmetrica (at) symmetrica.de
this page was automatically generated on So Jan 4 10:35:44 CET 2009 on the machine btn6xf