Low level Implementation Questions

An NTL discussion forum

Low level Implementation Questions

Postby scottyewest » Mon Mar 28, 2016 5:47 pm

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.
scottyewest
 
Posts: 1
Joined: Mon Mar 28, 2016 5:22 pm

Return to NTL

Who is online

Users browsing this forum: No registered users and 2 guests

cron