Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: staccato2
  • Order by date
  1. staccato2

    sign function

    >no, multiplying/dividing is 100 times slower as if/else for integers and 1000 times for floats. thanx!! if/else it is!!
  2. staccato2

    sign function

    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 ) )...
  3. staccato2

    sign function

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemmathclasssigntopic3.asp ___ ???? what am I missing ?? thanx for all replies btw
  4. staccato2

    sign function

    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 ??
  5. staccato2

    sign function

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

Part and Inventory Search

Back
Top