New submission from Florin Papa:

Hi,

This is Florin Papa from the Dynamic Scripting Languages Optimizations Team at 
Intel Corporation.

This patch checks whether the benchmark measurement that will be included in 
the csv output has more than 3 of the first decimal places equal to 0 and 
outputs more decimal places.

The problem is that each measurement in the csv output has only 6 decimal 
places (default for "%f" format), while some benchmarks, like unpack_sequence, 
will output values of the magnitude 0.0000xx (first four decimal places 0). 
This truncation of the original value can lead to incorrect results.

----------
components: Benchmarks
files: decimal_csv_output.csv
messages: 260460
nosy: brett.cannon, florin.papa, pitrou
priority: normal
severity: normal
status: open
title: number of decimal places in csv output
type: behavior
versions: Python 2.7, Python 3.6
Added file: http://bugs.python.org/file41955/decimal_csv_output.csv

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

Reply via email to