[Bug math/13841] New: csqrt overflow and underflow
jsm28 at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Tue Mar 13 21:22:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=13841
Bug #: 13841
Summary: csqrt overflow and underflow
Product: glibc
Version: 2.15
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: jsm28@gcc.gnu.org
ReportedBy: jsm28@gcc.gnu.org
Classification: Unclassified
The use of hypot in csqrt means it suffers from overflow and underflow in
internal calculations. On x86_64, csqrt (DBL_MAX + DBL_MAX * I) wrongly
returns inf + 0 * I; for 0x1p-1074 + 0x1p-1074 * I, the result is 0 + NaN * I.
I'll send a patch.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list