Complex numbers and division by zero errors
Steve Holden
sholden at holdenweb.com
Wed Dec 19 09:37:46 EST 2001
More information about the Python-list mailing list
Wed Dec 19 09:37:46 EST 2001
- Previous message (by thread): нР ДНЯРНИМНИ ЩЙНМНЛХХ - Й ДНЯРСОМНИ ПНЯЙНЬХ!..
- Next message (by thread): Complex numbers and division by zero errors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Stephen Boulet" <stephen at theboulets.net> wrote in message news:u20jppidgmhcc3 at corp.supernews.com... > Is there any package that handles division by zero errors in complex > numbers gracefully? > The problem there is, exactly what you consider to be "graceful". Since there is no generally acceptable specification of what to do, there is no way that anything except raising an exception can be considered "doing the right thing". Of course this is unfortunate if it's happening inside a package you are calling. There one error can mean a whole computation doesn't finish. regards Steve -- http://www.holdenweb.com/
- Previous message (by thread): нР ДНЯРНИМНИ ЩЙНМНЛХХ - Й ДНЯРСОМНИ ПНЯЙНЬХ!..
- Next message (by thread): Complex numbers and division by zero errors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list