9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* RE: [9fans] fp stack overflow -- hypot
@ 2004-03-05 12:13 Trickey, Howard W (Howard)
  2004-03-05 12:19 ` boyd, rounin
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: Trickey, Howard W (Howard) @ 2004-03-05 12:13 UTC (permalink / raw)
  To: '9fans@cse.psu.edu'

> ape was a 'failure of vision'.
> 

The 'vision' for ape was unrelated to plan 9.

Andrew Hume and I wanted a way to use the same
source for our 1127-developed programs on the
diverse set of machines we had in the late 80's -
Research Unix (v10), Suns, SGI's, and Plan 9.
Before the days of very good ANSI/POSIX compliance.

Yes, we could remove ape from plan 9 now,
if someone cares to port the remaining ape-using
programs to pure plan 9 - I'd be happy to see that.




^ permalink raw reply	[flat|nested] 25+ messages in thread
* [9fans] fp stack overflow -- hypot
@ 2004-03-04 22:18 David Tolpin
  2004-03-04 23:08 ` Bruce Ellis
  2004-03-04 23:53 ` Bruce Ellis
  0 siblings, 2 replies; 25+ messages in thread
From: David Tolpin @ 2004-03-04 22:18 UTC (permalink / raw)
  To: 9fans


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


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

end of thread, other threads:[~2004-03-11  9:38 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-05 12:13 [9fans] fp stack overflow -- hypot Trickey, Howard W (Howard)
2004-03-05 12:19 ` boyd, rounin
2004-03-05 12:24 ` Gorka Guardiola Múzquiz
2004-03-05 12:30   ` boyd, rounin
2004-03-05 12:36     ` Gorka Guardiola Múzquiz
2004-03-05 12:38       ` Fco.J.Ballesteros
2004-03-05 12:49         ` boyd, rounin
2004-03-05 12:46       ` boyd, rounin
2004-03-05 12:24 ` David Tolpin
2004-03-05 12:37   ` boyd, rounin
2004-03-05 15:14 ` a
2004-03-05 15:25   ` boyd, rounin
2004-03-08 10:14     ` Douglas A. Gwyn
2004-03-08 10:59       ` Bruce Ellis
2004-03-09  9:47         ` Douglas A. Gwyn
2004-03-09 12:19           ` boyd, rounin
2004-03-09 22:58           ` Bruce Ellis
2004-03-11  9:38             ` Douglas A. Gwyn
  -- strict thread matches above, loose matches on Subject: below --
2004-03-04 22:18 David Tolpin
2004-03-04 23:08 ` Bruce Ellis
2004-03-04 23:10   ` boyd, rounin
2004-03-04 23:53 ` Bruce Ellis
2004-03-04 23:54   ` David Tolpin
2004-03-05  6:32     ` Charles Forsyth
2004-03-06 10:24       ` Bruce Ellis

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 NNTP newsgroup(s).