Menu

#16 ZENEltPrintToString() problems with F_2 extensions

open
nobody
BUGS zen (5)
3
2005-10-14
2005-10-12
No

I created the ring (Z/2Z)[x]/(x+1) and tried to print
the element 1 into a string. The result is (0)*t^31+(1).
I know that this is not really a bug (in mathematically
sense), but it is still annoying as it makes the output
unnecessarily complicated. :-)

(Tested with 3.0 r6 and 3.0 r7.)

Discussion

  • Anonymous

    Anonymous - 2005-10-14

    Logged In: YES
    user_id=1360800

    I noticed that this problem also appears for other
    extensions of F_2. The reason seems to be that polynomials
    over F_2 always have a length of 2^n-1, as they are stored
    as bit strings in BigNums and that ZENPolyPrintToString
    seems in general to indicate the polynomial's length in its
    output by adding a monomial (0)*x^length in front of the
    ``real'' polynomial. Hence, this seems to be a feature and
    not a bug :)

     
  • Anonymous

    Anonymous - 2005-10-14
    • priority: 5 --> 3
    • summary: ZENEltPrintToString() problems with degree 1 extensions --> ZENEltPrintToString() problems with F_2 extensions
     

Log in to post a comment.

MongoDB Logo MongoDB