Message75002
Hi, I've just tried some math functions in python3.0, but there's an
wrong calculation (see the example). sin(pi/4) should be same as
(2^.5)/2, but the result is different in last two digits. I don't know
if it's an expected behaviour and this is my first posted issue.
Python 3.0rc1 (r30rc1:66507, Sep 18 2008, 14:47:08) [MSC v.1500 32 bit
(Intel)]
>>> from math import *
>>> sin(pi/4)==(2**0.5)/2
False
sin(pi/4)==0.70710678118654746
(2**0.5)/2==0.70710678118654757
bubersson |
|
Date |
User |
Action |
Args |
2008-10-20 20:08:02 | bubersson | set | recipients:
+ bubersson |
2008-10-20 20:08:01 | bubersson | set | messageid: <1224533281.89.0.753070831539.issue4155@psf.upfronthosting.co.za> |
2008-10-20 20:08:00 | bubersson | link | issue4155 messages |
2008-10-20 20:07:59 | bubersson | create | |
|