[gmpi] Re: Reqs TODO

  • From: "Martijn Sipkema" <m.j.w.sipkema@xxxxxxxxxxxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Wed, 26 Nov 2003 15:52:26 +0100

> On Wed, Nov 26, 2003 at 09:25:11AM -0500, Paul Davis wrote:
> > secondly, if you're writing DSP code, there's a good chance that the
> > way you handle a 64 bit unit will differ from the way you handle a 32
> > bit one. most ANSI C stuff is double-clean, but at the assembly level,
> > i am not familiar enough to know the impact ...
> 
> C99 is not double-clean - sinf() has different semnatics to sin().

They are different functions though... sin() as well as sinf() will behave
identical when called with either double or float.

Since C doesn't have function overloading you'd have to use sin() to not
lose presicion when the sample type is double...

--ms


----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: