Author isandler
Recipients derekroconnor, isandler, mark.dickinson
Date 2010-04-04.04:36:16
SpamBayes Score 4.55461e-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:23isandlersetrecipients: + isandler, mark.dickinson, derekroconnor
2010-04-04 04:36:21isandlersetmessageid: <1270355781.99.0.394967734102.issue8309@psf.upfronthosting.co.za>
2010-04-04 04:36:18isandlerlinkissue8309 messages
2010-04-04 04:36:17isandlercreate