Kewl , thanx!!
the only problem is that it's a sound processing module , so normally it gets processed thru an algorithm.
I think this has the advantage of being much faster than a if/else structure
or am I wrong here ??
I formulated the signus function as follows :
x = x * ( 1 / abs( x ) )...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemmathclasssigntopic3.asp
___
????
what am I missing ??
thanx for all replies btw
sin = sinus
sign = signus
signus returns -1 on a negative value ,
0 on a 0,
and 1 one a positive value
__
the documentation says it's a Math member , like sin
but I can use sin , not sign
??
Hi ,
I'm having the same problem ...
functions like abs() work ...
only not sign() ??
this is my include :
#include <Math.h>
this is the implementation :
(*out2++) = (*in2++) * abs(Sign(fTreshold - *in2));
this is the error :
error C2065: 'Sign' : undeclared identifier
?? h e l p ??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.