Message102319
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. |
|
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 | |
|