Bug 13892 - cexp overflow
Summary: cexp overflow
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: 2.15
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-22 16:39 UTC by Joseph Myers
Modified: 2014-06-26 13:44 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Myers 2012-03-22 16:39:53 UTC
The cexp function has undue overflows arising from overflow in its internal call to exp.  Example (tested x86): cexp (709.8125 + 0.75 * I) overflows, although both real and imaginary parts of the result are actually within the range of double.  (Examples with somewhat larger real part of the argument can also show undue overflows where one part of the result should be finite and the other infinite but instead both are infinite at present.)

I'm testing a patch for this.
Comment 1 Joseph Myers 2012-03-22 19:39:04 UTC
Fixed by:

commit 7c69cd143bacc3dbb7daeac4abf08a321aeeb185
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Mar 22 19:38:09 2012 +0000

    Fix cexp overflow (bug 13892).