Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!motcsd!hpda!hpcuhb!hpcllla!hpcllz2!dhandly
From: dhandly@hpcllz2.HP.COM (Dennis Handly)
Newsgroups: comp.sys.hp
Subject: Re: extreme performance degradation in c compiler on HP9000/835
Message-ID: <3770023@hpcllz2.HP.COM>
Date: 23 Sep 89 10:16:16 GMT
References: <721@mit-amt.MEDIA.MIT.EDU>
Organization: Hewlett Packard Calif. Language Lab
Lines: 8

A similar question came up with a Fortran program.  It looked like some
relaxation techniques.  The user took some of the SIN and COS function calls
out of the look to see if it went faster?  The end result was that with
less function calls, it took longer.  When I ran the same program on MPE XL,
series 900, it aborted with an overflow.  Using the +T option on HP-UX
also caused the overflow.  

It turned out that the SIN and COS caused the result to be -1..+1