From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <029a01c4023d$a80ecf60$8201a8c0@cc77109e> From: "Bruce Ellis" To: <9fans@cse.psu.edu> References: <200403042218.i24MIRFI059560@adat.davidashen.net> Subject: Re: [9fans] fp stack overflow -- hypot MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 7bit Date: Fri, 5 Mar 2004 10:08:47 +1100 Topicbox-Message-UUID: 15be0966-eacd-11e9-9e20-41e7f4b1d025 i just discovered that the ape hypot and the libc hypot are different, and the ape one does in fact blowup. i'll look into a bit more. good that you tracked it down this far. brucee ----- Original Message ----- From: "David Tolpin" To: <9fans@cse.psu.edu> Sent: Friday, March 05, 2004 9:18 AM Subject: [9fans] fp stack overflow -- hypot > > The offending function is hypot(2). If I replace it with sqrt(p*p+q*q), > no more stack overflows no matter what are shapes and how complex the graph > is. > > I think it is a compiler bug. But need more time or someone's help. > > David