Message102319
| Author |
isandler |
| Recipients |
derekroconnor, isandler, mark.dickinson |
| Date |
2010年04月04日.04:36:16 |
| SpamBayes Score |
4.5546103e-06 |
| Marked as misclassified |
No |
| Message-id |
<1270355781.99.0.394967734102.issue8309@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I believe python is fully at mercy of underlying system math library.
And as a matter of fact, this C program
#include <math.h>
#include <stdio.h>
main() { printf("%.6f\n", sin(1e22)); }
when compiled as 64-bit app (on linux) produces "-0.852201", but when it's compiled as a 32-bit app on the same machine (gcc -m32), it produces "0.462613".
So I don't think this is a bug in python. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年04月04日 04:36:23 | isandler | set | recipients:
+ isandler, mark.dickinson, derekroconnor |
| 2010年04月04日 04:36:21 | isandler | set | messageid: <1270355781.99.0.394967734102.issue8309@psf.upfronthosting.co.za> |
| 2010年04月04日 04:36:18 | isandler | link | issue8309 messages |
| 2010年04月04日 04:36:17 | isandler | create |
|