[issue25378] Roundoff error on OS X

2015-10-11 Thread Michał Jan Warecki

New submission from Michał Jan Warecki:

This should speak for itself:

>>> 3*4.35
13.049
>>> 

The error is reproducible, and applies to all decimal numbers ending with 
\.[0-9]5, and \.[0-4] as well as \.[6-9], when multiplied by 3. Examples:

>>> 3*4.1
12.299
>>> 3*4.4
13.201
>>> 3*4.6
13.799
>>> 3*4.8
14.399
>>> 3*4.9
14.701
>>> 4*3.1
12.4
>>> 4*4.1
16.4
>>> 3*4.1
12.299
>>> 6*4.1
24.5999998
>>> 6*4.4
26.402
>>>

--
components: Macintosh
messages: 252828
nosy: Michał Jan Warecki, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Roundoff error on OS X
type: behavior
versions: Python 2.7, Python 3.4

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25378>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25378] Roundoff error on OS X

2015-10-11 Thread Michał Jan Warecki

Changes by Michał Jan Warecki <mwarec...@gmail.com>:


--
components: +Interpreter Core

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25378>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com