Page 1 of 1

Low level Implementation Questions

PostPosted: Mon Mar 28, 2016 5:47 pm
by scottyewest
Victor,

I had a question on the low level implementation of the ZZ class for NTL without using GMP. Is there a specific reason why NTL_NBITS_MAX is defined to be 50 bits? If I have a 64 bit machine is this defined to be less for some optimizations? From my understanding of the code ZZ objects are implemented as arrays of longs defined within a WrappedPtr object. With this definition set to 50 isn't each 64 bit long variable only going to contain 50bits of data? I just wanted to understand the purpose of this definition.