Hi,
I want to check if a number is set to infinity or NaN. So I tried this
if-statement:

if x!=infinity:
    print x

But this doesn't work when x=a/b with a very small b, so that x
becomes infinity.
(I'm using SAGE Version 3.0.1)


Agi

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to