<html><head></head><body>Hi Luigi, <br>
<br>
did you try to convert RR to ZZ and then to int64?<br>
ZZ is NTLs multiprecision integer type, while RR is for multiprecision floats. <br>
<br>
Cheers, Friedrich<br><br><div class="gmail_quote">On July 9, 2015 11:08:08 PM CEST, Luigi Candurro <luigicandurro@virgilio.it> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi all,<br /><br />I have got i touch with NTL (WinNTL-9_2_0) few days ago, I have <br />successfully installed it<br />(on Windows 7 64-bit and Visual C++ 2008) and now I am doing some testing.<br /><br />I have found that conversion operator conv<T> allows to convert between <br />RR class and some C integer types (int, long int and their unsigned <br />versions), but does not cover the 64-bit integer type __int64 or long <br />long and its unsigned version. I have made the conversion functions I <br />need from RR to __int64 and unsigned __int64, but I had to convert RR <br />into string, and string into 64-bit integer, very annoying and unefficient.<br /><br />Is there a way to add conversion between RR and 64-bit (long long) integer?<br /><br />Bye<br /><br />Luigi<br /><br /><hr /><br />ntl mailing list<br />ntl@shoup.net<br /><a href="http://shoup.net/mailman/listinfo/ntl_shoup.net">http://shoup.net/mailman/listinfo/ntl_shoup.net</a><br
/></pre></blockquote></div><br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>