Message101824
Here's a version of the patch that adds exact comparisons between the various numeric types. The only slightly tricky comparison is the Fraction <-> Decimal one: an obvious strategy is to convert the Decimal exactly to a Fraction and then use the fraction comparison, but this is inefficient for Decimal instances with large exponent. So instead, we compare a Decimal `x` with a Fraction `n/d` by comparing `x*d` with `n` in the Decimal domain. |
|
| Date |
User |
Action |
Args |
| 2010-03-27 11:49:29 | mark.dickinson | set | recipients:
+ mark.dickinson, Rhamphoryncus, eric.smith, skrah |
| 2010-03-27 11:49:29 | mark.dickinson | set | messageid: <[email protected]> |
| 2010-03-27 11:49:27 | mark.dickinson | link | issue8188 messages |
| 2010-03-27 11:49:27 | mark.dickinson | create | |
|