[vtk-developers] VTK and 'long long'

Sean McBride sean at rogue-research.com
Mon Feb 10 11:49:58 EST 2014


On Fri, 7 Feb 2014 16:17:26 -0500, David Thompson said:

>You can use long long freely. However, be aware that on some (very) old
>platforms it may be a 4-byte/32-bit integer (at least some Windows
>compilers). If you really want an 8-byte/64-bit integer, you should use
>vtkTypeInt64 which is typedef'd to the proper system type. I don't think
>there are any conditions you need to check in order to use vtkTypeInt64
>(that is: all systems that VTK builds on support 64-bit integers... just
>some of them do not use a standard typename).

Great, thanks.  I don't need 64 bit, I just need a "big" integer to do some temporary calculations with, to reduce the chance of overflow.  Specifically:

<http://review.source.kitware.com/#/c/14156/>

for this:

<http://open.cdash.org/testDetails.php?test=232896519&build=3210714>

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 vtk-developers mailing list