Long integers

Hello,

How does SWI Prolog handle long integers – say, 128 bit long.

How does it deal bit operations on such integers:

Say, if i create a mask to pick out bits within the first 64 bits, and (probably, usually) discard the next 64 bits – but, want to move the full 128 bit integers around as argument.

How efficient would that be …

thanks,

Daniel

thank you.

Does SWI Prolog support GMP out of the box – or do i need to do something on Windows and Linux to get it to work.

Do i understand correctly that GMP would automatically optimize bit arithmetics for large integers 96 to 128 bits on a 32 and 64 bit processor …

thanks,

Dan