[issue532631] Confusions in formatfloat

2022-04-10 Thread admin
Change by admin : -- github: None -> 36292 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue532631] Confusions in formatfloat

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: The worst-case length calculations look fine to me, except that on a system with sizeof(int) == 8 (yes, they do exist!) the precision could end up being more than 10 digits. I've added a check for that in r70682. The docs also already mention the %f -> %g conv

[issue532631] Confusions in formatfloat

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: I've replaced the fabs(x) / 1e25 >= 1e25 test with fabs(x) >= 1e50 in r70678. On IEEE 754 systems, assuming round-to-nearest, these two tests have identical meaning. I've also fixed the docs, replacing 1e25 by 1e50. Is there a good reason for '%.100f'% 1e4

[issue532631] Confusions in formatfloat

2009-02-13 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: nnorwitz -> marketdickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue532631] Confusions in formatfloat

2009-02-12 Thread Daniel Diniz
Changes by Daniel Diniz : -- nosy: +marketdickinson stage: -> test needed type: -> behavior versions: +Python 2.6 ___ Python tracker ___ __