[gmpi] Re: Reqs TODO

  • From: Steve Harris <S.W.Harris@xxxxxxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Wed, 26 Nov 2003 15:15:43 +0000

On Wed, Nov 26, 2003 at 03:52:26PM +0100, Martijn Sipkema wrote:
> > 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...

And sinf() to stop type promotion when using floats. Yes.

- Steve

----------------------------------------------------------------------
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: