[Issue 4023] New: std.math.hypot() returns infinity when either argument is zero
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 28 07:23:07 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4023
Summary: std.math.hypot() returns infinity when either argument
is zero
Product: D
Version: 2.041
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bugzilla at kyllingen.net
--- Comment #0 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2010-03-28 07:23:05 PDT ---
Both hypot(x, 0.0) and hypot(0.0, x) should return x. Instead, real.infinity
is returned in both cases.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list