public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15194] New: pow leads to segmentation fault when called after fesetround(FE_UPWARD);
@ 2013-02-25 16:49 martinez at nsup dot org
  2013-02-25 19:53 ` [Bug math/15194] " bagnara at cs dot unipr.it
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: martinez at nsup dot org @ 2013-02-25 16:49 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-06-13 18:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-25 16:49 [Bug math/15194] New: pow leads to segmentation fault when called after fesetround(FE_UPWARD); martinez at nsup dot org
2013-02-25 19:53 ` [Bug math/15194] " bagnara at cs dot unipr.it
2013-02-25 23:46 ` martinez at nsup dot org
2013-02-26  0:57 ` joseph at codesourcery dot com
2013-02-26  8:50 ` schwab@linux-m68k.org
2013-02-26 15:23 ` martinez at nsup dot org
2013-02-26 15:29 ` aj at suse dot de
2013-02-26 15:32 ` martinez at nsup dot org
2013-02-26 15:33 ` martinez at nsup dot org
2014-06-13 18:47 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).