From: Rich S. <rs...@zo...> - 2002-01-14 20:35:45
|
gr...@ds... wrote: > On Jan 12 21:53, Rich Salz <rs...@zo...> wrote: > >>Subject: Re: [Pywebsvcs-talk] NaN check on FreeBSD not working. >> >>fixed in cvs. NaN is wierd. >> > > Okay, by your comments and code you turned it off totally. Ie., _check_for_nan > gets set to 0 no matter what. FWIW its worth, I added in that isnan() function > and changed it to: that's a typo. It should be _check_for_nan turned on in the EXCEPT block. I.e., if real NaN support is not avail, set _check_for_nan=1. This assumes that if "float('nan')" works, then "'%f' % float('nan')" does the right thing. Anyplace that isn't true? Seems simpler than that hair nan function you provided. /r$ -- Zolera Systems, http://www.zolera.com Information Integrity, XML Security |