|   | 1 |  initial version  | 
Hello,
The problem comes from the fact that Sage floating point number behave differently than other numbers with respect to division by zero. Namely
sage: 1 / 0
Traceback (most recent call last):
...
ZeroDivisionError: rational division by zero
sage: 1. / 0.
+infinity
I opened a discussion. But I think that the second example should raise the same error as the first one. See this sage-devel thread.
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.