[vtkusers] Moving an actor, after about 1.5 hours.
Sean McBride
sean at rogue-research.com
Wed Mar 9 17:16:02 EST 2016
On Wed, 9 Mar 2016 14:58:53 -0700, David Gobbi said:
>To say "all bets are off" is ludicrous.
Alas, not really.
>Compilers everywhere use two's
>complement arithmetic where there is no difference (at the bit level)
>between signed and unsigned addition.
*CPUs* use 2's complement, true, but irrelevent.
Compilers these days do evil/surprising optimizations, ex:
<http://kristerw.blogspot.ca/2016/02/how-undefined-signed-overflow-enables.html>
<http://www.airs.com/blog/archives/120>
But this is getting off-topic...
VTK obviously needs to up that thing to 64 bit for all platforms.
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtkusers
mailing list