digitalmars.D.bugs - [Issue 675] New: %a format is wrong for denormals. [bug in DMC?]
- d-bugmail puremagic.com (23/23) Dec 11 2006 http://d.puremagic.com/issues/show_bug.cgi?id=675
- d-bugmail puremagic.com (10/10) Feb 25 2009 http://d.puremagic.com/issues/show_bug.cgi?id=675
- d-bugmail puremagic.com (5/5) Feb 27 2009 http://d.puremagic.com/issues/show_bug.cgi?id=675
- d-bugmail puremagic.com (9/9) Apr 21 2009 http://d.puremagic.com/issues/show_bug.cgi?id=675
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 ------------ --
Dec 11 2006
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. If x is denormal, the %La format always prints the exponent higher by 1, than the correct value. The mantissa is always correct. --
Feb 25 2009
http://d.puremagic.com/issues/show_bug.cgi?id=675 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. --
Feb 27 2009
http://d.puremagic.com/issues/show_bug.cgi?id=675 clugdbug yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed 2.029. --
Apr 21 2009