Message99445
| Author |
ddicato |
| Recipients |
ddicato, georg.brandl |
| Date |
2010年02月16日.22:41:38 |
| SpamBayes Score |
3.2123884e-05 |
| Marked as misclassified |
No |
| Message-id |
<1266360101.13.0.863363643677.issue7947@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The standard library documentation for the math module states "All functions return a quiet NaN if at least one of the args is NaN." However, there are some exceptions to this rule, including:
math.pow(1.0, float('nan')) == 1.0
math.hypot(float('inf'), float('nan')) == float('inf')
abs(complex(float('nan'), float('inf'))) == float('inf')
The docs should be updated to reflect that such corner cases exist. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年02月16日 22:41:41 | ddicato | set | recipients:
+ ddicato, georg.brandl |
| 2010年02月16日 22:41:41 | ddicato | set | messageid: <1266360101.13.0.863363643677.issue7947@psf.upfronthosting.co.za> |
| 2010年02月16日 22:41:39 | ddicato | link | issue7947 messages |
| 2010年02月16日 22:41:39 | ddicato | create |
|