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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Lars T. Kyllingstad <[email protected]> 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: -------