[issue27440] Trigonometric bug

2016-07-02 Thread Steven D'Aprano
Steven D'Aprano added the comment: I know this issue is closed, but for future reference, ShubhamSingh.er, if you submit any further bug reports, please don't submit screen shots unless necessary. Just copy and paste the text from your terminal into the issue tracker. A screen shot is more wor

[issue27440] Trigonometric bug

2016-07-02 Thread Tim Peters
Tim Peters added the comment: Python's floats are emphatically not doing symbolic arithmetic - they use the platform's binary floating point facilities, which can only represent a subset of rationals exactly. All other values are approximated. In particular, this shows the exact value of the

[issue27440] Trigonometric bug

2016-07-02 Thread R. David Murray
R. David Murray added the comment: I would imagine that this is a consequence of platform-dependent floating point math. Not to mention working with an irrational number. See also issue 8309. -- nosy: +mark.dickinson, r.david.murray type: resource usage -> behavior __

[issue27440] Trigonometric bug

2016-07-02 Thread Shubham Singh
New submission from Shubham Singh: The value of sine and tangent, using math module is showing wrong.Screenshot is attached. -- components: Extension Modules, Windows files: Sin.jpg messages: 269711 nosy: ShubhamSingh.er, paul.moore, steve.dower, tim.golden, zach.ware priority: normal s