Re: [Python-Dev] Why is nan != nan?

2010-03-25 Thread Pierre B .
Mark Dickinson dickinsm at gmail.com writes: On Thu, Mar 25, 2010 at 12:39 PM, Jesus Cea jcea at jcea.es wrote: But IEEE 754 was created by pretty clever guys and sure they had a reason for define things in the way they are. Probably we are missing something. Well, if we are, then

Re: [Python-Dev] Mixing float and Decimal -- thread reboot

2010-03-22 Thread Pierre B .
Sorry to intervene out of the blue, but I find the suggested rule for fractional to decimal conversion not as clean as I'd expect. If fractions are converted to decimals when doing arithmetics, would it be worthwhile to at least provide a minimum of fractional conversion integrity? What I have