This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15194] New: pow leads to segmentation fault when called after fesetround(FE_UPWARD);
- From: "martinez at nsup dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 25 Feb 2013 16:49:04 +0000
- Subject: [Bug math/15194] New: pow leads to segmentation fault when called after fesetround(FE_UPWARD);
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15194
Bug #: 15194
Summary: pow leads to segmentation fault when called after
fesetround(FE_UPWARD);
Product: glibc
Version: 2.18
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: unassigned@sourceware.org
ReportedBy: martinez@nsup.org
Classification: Unclassified
The following code leads to segmentation fault with the current git version of
GNU libc (and that is the case at least from 2.15).
#include <math.h>
#include <fenv.h>
int
main()
{
double x = 2.8532681940591602;
fesetround(FE_UPWARD);
pow(x, 4);
}
--
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.