Thread overview |
---|
December 11, 2006 [Issue 675] New: %a format is wrong for denormals. [bug in DMC?] | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=675 Summary: %a format is wrong for denormals. [bug in DMC?] Product: D Version: 0.177 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: clugdbug@yahoo.com.au I think this is a bug in the DMC library. It also affects the D name-mangling of template float arguments. void main() { printf("%La %La\n", 0x1p-16382L, 0x1p-16383L); } prints: ----------- 0x1p-16382 0x1p-16384 ------------ -- |
February 25, 2009 [Issue 675] %a format has an out-by-1 bug for denormals. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=675 clugdbug@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|%a format is wrong for |%a format has an out-by-1 |denormals. [bug in DMC?] |bug for denormals. ------- Comment #1 from clugdbug@yahoo.com.au 2009-02-25 02:58 ------- If x is denormal, the %La format always prints the exponent higher by 1, than the correct value. The mantissa is always correct. -- |
February 27, 2009 [Issue 675] %a format has an out-by-1 bug for denormals. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=675 ------- Comment #2 from clugdbug@yahoo.com.au 2009-02-27 07:36 ------- I thought the problem might have been in frexpl(), but it isn't -- I can confirm that frexpl works correctly. The bug must be in __pfloatfmt somewhere. -- |
April 21, 2009 [Issue 675] %a format has an out-by-1 bug for denormals. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=675 clugdbug@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from clugdbug@yahoo.com.au 2009-04-21 09:21 ------- Fixed 2.029. -- |
Copyright © 1999-2021 by the D Language Foundation