Neal Becker wrote: > [EMAIL PROTECTED] wrote: > >> Would a wrapper function be out of the question here? >> >> def MyDivision(num, denom): >> if denom==0: >> return "NaN" >> else >> return num / denom > > I bought a processor that has hardware to implement this. Why do I want > software to waste time on it?
Will the amount of time wasted by the software exceed the amount of time required to implement Python-level access to the hardware feature? At any rate, the work-around should at least let you work on the rest of the application, while a more efficient implementation can be developed. -- http://mail.python.org/mailman/listinfo/python-list