This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients mark.dickinson, mdealencar, skrah
Date 2014-02-04.14:46:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20140204144649.GA18990@sleipnir.bytereef.org>
In-reply-to <1391523584.21.0.835511786649.issue20502@psf.upfronthosting.co.za>
Content
Mauricio de Alencar <report@bugs.python.org> wrote:
> 
> Mauricio de Alencar added the comment:
> 
> "Digits after the decimal mark" is not the same as "significant digits".
> See https://en.wikipedia.org/wiki/Significant_figures
> 
> If I have a list of numbers [256.2, 1.3, 0.5] that have 3 significant digits each, I would like to have them displayed as:
> ['256', '1.30', '0.500']

You need to stop lecturing.  The above sentence you wrote directly contradicts
the Wikipedia link you have thrown at us.  And yes, thank you, we do know what
significant figures are.

FYI, the Python implementation of decimal, the C implementation of decimal
and decNumber are completely separate implementations of

    http://speleotrove.com/decimal/decarith.html

by different authors and produce exactly the results that you criticize.
History
Date User Action Args
2014-02-04 14:46:50skrahsetrecipients: + skrah, mark.dickinson, mdealencar
2014-02-04 14:46:50skrahlinkissue20502 messages
2014-02-04 14:46:50skrahcreate