This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | MrJean1 |
|---|---|
| Recipients | MrJean1, mark.dickinson, terry.reedy |
| Date | 2008年06月28日.17:08:47 |
| SpamBayes Score | 0.0091746235 |
| Marked as misclassified | No |
| Message-id | <1214672928.26.0.864373992358.issue3168@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Here are the 64-bit results. First with -xO5:
Python 2.6b1 (r26b1:64398, Jun 28 2008, 10:57:27) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import cmath
>>> cmath.log(100.0)
(4.6051701859880918+0j)
>>> cmath.log(2.0)
(0.69314718055994529+0j)
>>> cmath.log(100.0, 2.0)
(0.71244151439608006-2.0556716794852954j)
>>> import math
>>> math.log(float('-inf'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: math domain error
This is 64-bit with -xO0:
Python 2.6b1 (r26b1:64398, Jun 28 2008, 11:02:57) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import cmath
>>> cmath.log(100.0)
(4.6051701859880918+0j)
>>> cmath.log(2.0)
(0.69314718055994529+0j)
>>> cmath.log(100.0, 2.0)
(6.6438561897747253+0j)
>>> import math
>>> math.log(float('-inf'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: math domain error |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月28日 17:08:48 | MrJean1 | set | spambayes_score: 0.00917462 -> 0.0091746235 recipients: + MrJean1, terry.reedy, mark.dickinson |
| 2008年06月28日 17:08:48 | MrJean1 | set | spambayes_score: 0.00917462 -> 0.00917462 messageid: <1214672928.26.0.864373992358.issue3168@psf.upfronthosting.co.za> |
| 2008年06月28日 17:08:47 | MrJean1 | link | issue3168 messages |
| 2008年06月28日 17:08:47 | MrJean1 | create | |