On Wednesday, October 7, 2015 at 8:03:15 PM UTC+2, Bill Hart wrote:
>
>
>
> On Wednesday, 7 October 2015 19:48:54 UTC+2, bluescarni wrote:
>>
>> PARI requires (required?) sizeof(mp_limb_t)==sizeof(void*), which is not 
>> guaranteed and not enforceable by PARI (as it's up to GMP to decide what 
>> exactly an mp_limb_t is).
>>
>
> I think I understand now. I was misled by the person claiming Pari 
> required sizeof(long) == sizeof(void*) and Bill Allombert debunking it. 
> Bill was of course correct (he is a Pari dev).
>
Pari also needed till recently sizeof(long) == sizeof(void*)
Look at 
http://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=blob;f=src/headers/parigen.h;h=b8347dcfedd3e98154238faa4cb6eb04ce80d810;hb=HEAD#l16
This is dark magic to ensure that long get defined as long long on Windows 
64.
This is also mentioned at page 5 here: raim2013.lip6.fr/theme/PDF/*PARI*-
*GP*/[Belabas]*PARI*_*GP*.pdf

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to