commit | 99d8096c174ccb025e8ff55e614ea3820f89e204 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Fri Apr 02 08:53:22 2010 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Fri Apr 02 08:53:22 2010 +0000 |
tree | b93c027821ca0e003ce090b97319f151246230ff | |
parent | 6eba77923565dc90d5b77b4b3f0e8f82f6109714 [diff] |
Issue #2531: Make float-to-decimal comparisons return correct results. Float to decimal comparison operations now return a result based on the numeric values of the operands. Decimal.__hash__ has also been fixed so that Decimal and float values that compare equal have equal hash value.