On Thu, Aug 20, 2009 at 05:01:20PM -0500, Les Denham wrote: > On Thursday 20 August 2009 02:38:08 pm José Matos wrote: > > On Thursday 20 August 2009 16:09:21 Steve Litt wrote: > > > Unless of course you have a 64 bit computer. > > > > And the data type used is long. For most of the 64-bit linux the memory > > layout is LP-64 that means that only long and pointer are 64 bits wide. > > > > In case anyone wonders wikipedia has an interesting starting point to read > > about this: > > http://en.wikipedia.org/wiki/LP64 > > > > > SteveT > > So the real question is whether the variable used for the font size is short > (16 bits in all common models), int (16 bits in LP32, 32 bits in ILP32 and > LP64, and 64 bits in ILP64) or long (32 bits in LP32, 64 bits in LP64 and > ILP64). I have no idea where to look in the source code for this. It's > probably buried in TeX somewhere, but TeX is written in WEB, which in turn is > written in either Pascal or C -- I'm not sure.
TeX's integer arithmetic is on all platforms exactly the same (something hand-made fixed point) That's by design to ensure the same output no matter where the program runs. Andre'
