<html><head></head><body>I can't believe there are no 64bit ints until c++11 on windows. Isn't long already 64bit on some x86 machines? ("some machines" still might not solve the issue) <br><br><div class="gmail_quote">On July 9, 2015 11:38:32 PM CEST, Victor Shoup <shoup@cs.nyu.edu> 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">A followup: "long long" is only a part of the language standard<br />since C++11.  So I guess before C++11, there was no standard<br />way to get at 64-bit integers on Windoze. Anyway, now that it is <br />a part of the standard, it would be reasonable to contemplate<br />making such conversion operators.  But they would only be useful<br />for Windoze platforms, and that is a low priority.<br />Plus, one would have to provide legacy switches so that<br />one could get rid of these on platforms that have not yet<br />implemented the C++11 standard.<br /><br /><br />On Jul 9, 2015, at 5:32 PM, Friedrich Wiemer wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> But you can convert to "standard" c++ types like int64_t or similar for sure! Maybe the are named similar on windows, but uint64_t, int64_t, etc. should be defined in stdint.h if I remember correctly. <br /> You can than
use normal c++ type conversions. <br /> <br /> On July 9, 2015 11:30:21 PM CEST, Luigi Candurro <luigicandurro@virgilio.it> wrote:<br /> Il 09/07/2015 23:14, Friedrich Wiemer ha scritto:<br />  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 <br />  floats.<br /> <br />  Cheers, Friedrich<br /> <br /> Hi, Friedrich,<br /> <br /> unfortunately ZZ.h does not contain conversion definitions from ZZ to <br /> __int64 type.<br /> <br /> Thanks anyway<br /> <br /> Luigi<br /> <br /> <br /> <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 /> <br /> -- <br /> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.<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 /></blockquote><br /></pre></blockquote></div><br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>