Jeroen Demeyer on Mon, 14 Sep 2009 23:52:53 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Problems with has_log2.c and has_exp2.c


Bill Allombert wrote:
This used to be the case until revision 5501 when it was changed.
I suggest you read threads:
http://pari.math.u-bordeaux.fr/archives/pari-dev-0404/msg00012.html
http://pari.math.u-bordeaux.fr/archives/pari-dev-0405/msg00002.html

Maybe you will find a satisfying solution.
Well, I hope there will be a solution, because at present PARI simply does not compile with g++-4.5.0 because of this issue (and usually gcc/g++ tend to be more strict in newer versions).

How about this?

#include <math.h>
int main() {return (&exp2) != 0;}