On 2006-05-06, Robert Kern <[EMAIL PROTECTED]> wrote: >>>>Since numpy seems to be working on a variety of platforms/hardware, >>>>how hard would it be to extract this functionality from it to add to >>>>Python proper? >>> >>>Harder than just enabling fpectl. >> >> Last thing I heard fpectl was considered to be completely broken -- it's >> likely not disabled by default for no reason. > > Fair enough. If you want to go through numpy's code to rip out its floating > point error handling, knock yourself out. It's not going to be trivial, > though. > It's heavily embedded in the ufunc machinery.
Does numpy's NaN handling only work within numpy functions, or does it enable HW FP signals and then catch them for "normal" floating point operations that take place outside of numpy code? -- Grant Edwards grante Yow! I'm in direct contact at with many advanced fun visi.com CONCEPTS. -- http://mail.python.org/mailman/listinfo/python-list