Phat Tran on Thu, 18 Mar 2010 03:34:20 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Degree overflow in pow_monome - PARI
|
- To: pari-users <pari-users@list.cr.yp.to>
- Subject: Degree overflow in pow_monome - PARI
- From: Phat Tran <minhphat@gmail.com>
- Date: Wed, 17 Mar 2010 21:32:37 -0500
- Delivery-date: Thu, 18 Mar 2010 03:34:20 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=MkMHC+6jJ6Jn4oxSUP7lSPz++/rsdTaZMTac/eAzT7w=; b=BumGUnG7cSUbhCfLqLhVVdR76KWxO2Xqypwyph7IsULXjWYLlxhzFo/gfqRbRpIE5f JFV/z7p8gh6SyyEJIPT44smjKcW6QQMdWY8SZ1VLC0tYoxqkMQvzGMY1ktRd7CnH/03w xAQv91LWwj/cEy7JD8FmIpLl9eQOg6AFT/wVs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uGzQXvYXH1DQy+iXoTJjeCoSWYzWTMU4+7QZ9BciYIZNMoXuU6lJ6wbt0PFASsVUNc 0zCOiYXkbYxFx3YMYrZNKI0pImCauTAB0c36i4D5TlFaaFIzBdIw3TuTDEJ2XgEWyI2x IcwIAu0bBUB5fdBb+f2S2Dx5ToXiRNAnfwFwg=
- Mailing-list: contact pari-users-help@list.cr.yp.to; run by ezmlm
***ÂÂ degree overflow in pow_monome.
 *** Error in the PARI system. End of program.
I got the error message above while running the codes in C using PARI/GP 2.3.5 under cygwin.
ÂÂÂ GEN m = readseq("123456789");
ÂÂÂ GEN n = readseq("1234567");
ÂÂÂ
ÂÂÂ GEN a = readseq("7");
ÂÂÂ GEN c = readseq("8");
ÂÂÂ
ÂÂÂ GEN b = readseq("10358");
ÂÂÂ GEN d = readseq("49850");
ÂÂÂ
ÂÂÂ
ÂÂÂ GEN x = pol_x[fetch_user_var("x")];
ÂÂÂ GEN y = pol_x[fetch_user_var("y")];
ÂÂÂ GEN z = pol_x[fetch_user_var("a")];
ÂÂÂ ÂÂÂ
ÂÂÂ z = gpowgs(gmodulo(gadd(x, gmodulo(gadd(y, gmodulss(1, n)), gsub(gpowgs(y, c), d))), gsub(gpowgs(x, a), b)), m);
I wonder if the number m is too big for PARI to be handled.Â
Thanks,
Minhphat