On 16/04/2018 13:15, John Cremona wrote:
On 16 April 2018 at 12:04, Vincent Delecroix <20100.delecr...@gmail.com>

On 16/04/2018 09:21, fanxue...@iie.ac.cn wrote:

I have constructed  a big prime field:


Here is what I get

sage: p = 68235916425158872634653027
sage: F = GF(p)
Traceback (most recent call last):
ValueError: the order of a finite field must be a prime power

OK, but apart from typos in the report there is a real bug:

sage: p=next_prime(68235916425158872634653027)
sage: F=GF(p)
sage: E2=GF(p^6)

  AttributeError: 'int' object has no attribute 'divisors'

reason: type inconsistency in the output of K.degree()

sage: type(GF(next_prime(2^62)^2).degree())
<type 'sage.rings.integer.Integer'>


sage: type(GF(next_prime(2^63)^2).degree())
<type 'int'>


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

Reply via email to