On Apple's macOS, both long and long long are 64 bits. The system chooses to define uint64_t as unsigned long long, which isn't covered by NTL's conv routines, leading to some pretty unpleasant errors as I detailed in vigna/CPRNG#1.
Because NTL covers unsigned long which is the same size on that particular system, I ended up getting away with supplying an explicit unsigned long type argument to the template. But that's hacky. Maybe something can be done to officially add long long to ZZ.h?
On Apple's macOS, both
longandlong longare 64 bits. The system chooses to defineuint64_tasunsigned long long, which isn't covered by NTL'sconvroutines, leading to some pretty unpleasant errors as I detailed in vigna/CPRNG#1.Because NTL covers
unsigned longwhich is the same size on that particular system, I ended up getting away with supplying an explicitunsigned longtype argument to the template. But that's hacky. Maybe something can be done to officially addlong longto ZZ.h?