[ntl] NTL RR class and long long integer
Luigi Candurro
luigicandurro at virgilio.it
Thu Jul 9 16:08:08 CDT 2015
Hi all,
I have got i touch with NTL (WinNTL-9_2_0) few days ago, I have
successfully installed it
(on Windows 7 64-bit and Visual C++ 2008) and now I am doing some testing.
I have found that conversion operator conv<T> allows to convert between
RR class and some C integer types (int, long int and their unsigned
versions), but does not cover the 64-bit integer type __int64 or long
long and its unsigned version. I have made the conversion functions I
need from RR to __int64 and unsigned __int64, but I had to convert RR
into string, and string into 64-bit integer, very annoying and unefficient.
Is there a way to add conversion between RR and 64-bit (long long) integer?
Bye
Luigi
More information about the ntl
mailing list