Message106156
| Author |
meador.inge |
| Recipients |
mark.dickinson, meador.inge |
| Date |
2010年05月20日.14:25:59 |
| SpamBayes Score |
8.781333e-08 |
| Marked as misclassified |
No |
| Message-id |
<1274365562.98.0.75610477177.issue8748@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Thanks for the review. I incorporated the check re-orderings.
I am also writing more tests. Which already exposed a subtly that I was not expecting:
Python 3.2a0 (py3k:81284M, May 20 2010, 09:08:20)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> n = 2 ** 53
[37447 refs]
>>> complex(n + 2) == n + 2
True
[37457 refs]
>>> complex(n + 1) == n + 1
False
[37459 refs]
>>> complex(n + 3) == n + 3
False
[37460 refs]
>>> complex(n + 4) == n + 4
True
[37461 refs]
>>>
It seems as if 'complex(n + delta) == n + delta' when 'delta' is even. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年05月20日 14:26:03 | meador.inge | set | recipients:
+ meador.inge, mark.dickinson |
| 2010年05月20日 14:26:02 | meador.inge | set | messageid: <1274365562.98.0.75610477177.issue8748@psf.upfronthosting.co.za> |
| 2010年05月20日 14:26:00 | meador.inge | link | issue8748 messages |
| 2010年05月20日 14:25:59 | meador.inge | create |
|