Hi All,

A bug I think:

0^0 should be 1, right!
QQ(0)^0 
1

F.<a> := GF(5)
F(0)^0

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_16.py", line 10, in <module>
    exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" 
+ 
_support_.preparse_worksheet_cell(base64.b64decode("R0YoNSkoMCleMA=="),globals())+"\\n");
 execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File 
"/private/var/folders/7n/_76dp5b91pq0ybpq71jws1s40000gn/T/tmpIMKKjB/___code___.py",
 line 3, in <module>
    exec compile(u'GF(_sage_const_5 )(_sage_const_0 )**_sage_const_0 
  File "", line 1, in <module>
    
  File "integer_mod.pyx", line 2381, in 
sage.rings.finite_rings.integer_mod.IntegerMod_int.__pow__ 
(sage/rings/finite_rings/integer_mod.c:20136)
ArithmeticError: 0^0 is undefined.


So sad!
Makes our code clumsy.


Mike


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


Reply via email to