just checked libm. cos() is defined there. I would recommend to use cosf() which is the same in your case, but this is better for portability.
Do not forget to link math library (-lm optiion to linker) cheers, ~d P.S. can anybody extensivly using math library check if all functions defined properly there? Thanks. On Tuesday 01 July 2003 00:19, Lutz Fink wrote: > Hi, > > I tried to use a cos-function with math.h, but the linker for the msp430 > do not know such a call. Can you give me a hint, how to use this function > call. > > Regards > > Lutz > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users -- /***************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) State Polytechnical Univ. (_Y_.)' ._ ) `._ `. ``-..-' Radio-Physics Departament _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 5403923, 5585314 *****************************************************************/
