Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: Slings and Arrows

When I was writing accounting software, one of the areas I had to foresee was dividing by zero. The Windows core routines will 'throw an exception' when encountering a divide-by-zero. The software program must 'catch' the 'thrown exception' and handle it in some way. I wrote elaborate error functions to catch every error we could think of, but of course, some user would always manage within 30 seconds to do something stupid. However, almost all modern software handles divide-by-zero problems gracefully.


84 posted on 12/08/2006 1:01:36 PM PST by gb63
[ Post Reply | Private Reply | To 27 | View Replies ]


To: gb63

That pretty much nails it.


96 posted on 12/08/2006 1:07:18 PM PST by Slings and Arrows ("Nancy [Pelosi] was voted the Number one reason why men in San Francisco are homosexuals."-Wikiality)
[ Post Reply | Private Reply | To 84 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson