RE: [Python-Dev] Comparing heterogeneous types
24 Jun
2004
24 Jun
'04
9:51 a.m.
#- > I maintain that when comparing a long with a float #- > where the exponent is larger than the precision, that the #- > float should be treated as if it were EXACTLY EQUAL TO #- > <coefficient>*2^<exponent>, instead of trying to treat it as #- > some sort of a range. Similarly, if we implemented a Rational #- > type, I would suggest that instances of float (or of Facundo's #- > Decimal) where <exponent> is LESS than the digits of #- > <coefficient> should be treated as if they were EXACTLY EQUAL #- > TO the corresponding fraction-over-a-power-of-two. Don't get to understand this. Could you send please an example of Decimal to this case? Thank you! . Facundo
7245
Age (days ago)
7245
Last active (days ago)
0 comments
1 participants
participants (1)
-
Batista, Facundo