From: eklund@fman.zko.dec.com (Dave Eklund)
Subject: Re: how to use sincos()?
Date: 1995/08/11 [thread overview]
Message-ID: <40fsbp$lra@nntpd.lkg.dec.com> (raw)
In-Reply-To: bhunt.808006343@brians.umd.edu
I can only speak for DEC Fortran where you can get a call to
sincos out of a code fragment like:
do i=1,100
type *,sin(float(i)),cos(float(i))
enddo
end
The compiler recognizes the need for both the sin and cos values,
and generates code accordingly, picking up the values from the appropriate
registers. I believe that DEC C does the same thing with similar code.
Dave Eklund
next prev parent reply other threads:[~1995-08-11 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-08-08 4:00 how to use sincos()? Brian R. Hunt
1995-08-09 4:00 ` Dave Eklund
1995-08-09 4:00 ` Brian R. Hunt
1995-08-11 4:00 ` Dave Eklund [this message]
1995-08-13 4:00 ` Dave Newbold
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox