large prime field

asked 2017-06-06 09:25:56 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

p = 46891012152021222527303233355051

I am working on extension of P that is (p^2) , i have written algorithm in sagemath, when i execute my code it gives error

OverflowError: Python int too large to convert to C long is there any solution to solve above problem so that my algorithm will run smoothely.

thanks

edit retag flag offensive close merge delete

Comments

You should give us the more precise computations you are trying to do, since it is hard to understand where your problem comes from.

B r u n o gravatar imageB r u n o ( 2017-06-06 11:33:37 +0100 )edit

Since another person is asking the same question, I do not see any problem with this computation (from at least SageMath 7.6).

sage: p = 46891012152021222527303233355051
sage: K = GF(p^2)
sage: K
Finite Field in z2 of size 46891012152021222527303233355051^2
B r u n o gravatar imageB r u n o ( 2017-06-19 09:01:11 +0100 )edit