digitalmars.D.bugs - [Issue 416] New: regression: unittest failure in phobos, math(501)
- d-bugmail puremagic.com (21/21) Oct 09 2006 http://d.puremagic.com/issues/show_bug.cgi?id=416
- Don Clugston (5/31) Oct 09 2006 I don't know how it passed before. The new compiler is correct!
- d-bugmail puremagic.com (13/13) Oct 10 2006 http://d.puremagic.com/issues/show_bug.cgi?id=416
- d-bugmail puremagic.com (9/9) Oct 18 2006 http://d.puremagic.com/issues/show_bug.cgi?id=416
http://d.puremagic.com/issues/show_bug.cgi?id=416 Summary: regression: unittest failure in phobos, math(501) Product: D Version: 0.169 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: lio lunesu.com Phobos build flags (win32.mak): CFLAGS=-g -mn -6 -r DFLAGS=-unittest -g -w unittest Error: AssertError Failure math(501) The offending line in std/math.d: assert(isNegZero(atanh(-real.infinity))); The assert was there in 0.168 but did not fail then. --
Oct 09 2006
d-bugmail puremagic.com wrote:http://d.puremagic.com/issues/show_bug.cgi?id=416 Summary: regression: unittest failure in phobos, math(501) Product: D Version: 0.169 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: lio lunesu.com Phobos build flags (win32.mak): CFLAGS=-g -mn -6 -r DFLAGS=-unittest -g -w unittest Error: AssertError Failure math(501) The offending line in std/math.d: assert(isNegZero(atanh(-real.infinity))); The assert was there in 0.168 but did not fail then.I don't know how it passed before. The new compiler is correct! That line should be changed to: assert(isnan(atanh(-real.infinity))); It was my mistake in the original code that I submitted.
Oct 09 2006
http://d.puremagic.com/issues/show_bug.cgi?id=416 lio lunesu.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|regression: unittest failure|mistake in unittest |in phobos, math(501) |std/math.d line 501 From the Don: I don't know how it passed before. The new compiler is correct! That line should be changed to: assert(isnan(atanh(-real.infinity))); It was my mistake in the original code that I submitted. --
Oct 10 2006
http://d.puremagic.com/issues/show_bug.cgi?id=416 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed DMD 0.170 --
Oct 18 2006