ELTE SEAS
http://seas3.elte.hu/seas/forum/

messed up that bit
http://seas3.elte.hu/seas/forum/viewtopic.php?f=75&t=1477
Page 1 of 1

Author:  szigetva [ Wed Nov 17, 2010 8:24 am ]
Post subject:  messed up that bit

Ida Verebes has called my attention to the fact that the result of dividing x by y in TeX is not int(x/y), since then
Code:
\newcount\mycount
\mycount= -9
\divide\mycount by 5
\the\mycount
would give -2. In fact, it gives -1. The remainder is discarded, which is the int() function only for positive numbers.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/