I wrote an alternate mathlib that includes source, released into public
domain. If you want a copy email me and I'll send it. Includes most trig
functions, exponentiation and logs, etc. Then you can simply include the
functions you want in your source code (cut and paste) and you don't have
to rely on an external library. Code can be modified to modify the tradeoff
of speed and accuracy.
Jeff Summers

In your message regarding MathLib - Link Error: 'sin' referenced is
undefined. dated Fri, 12 May 2006 12:14:38 -0000, Klemen Dovrtel said that
...

>  I would like to use MathLib, but every time i try to calculate something, i
get this error: Link Error   : Starter.c: 'sin' referenced from
'MainFormHandleEvent' is undefined. I included MathLib.h in the proyect. Where
should i put all other (e_acos.c, e_acosh.c, etc.)? I created a C applicatin (a
saw on this forum that the library doesn't work with C++ application). What
could be wrong? (I am using codewarrior)
>  
>  code:
>  #include "MathLib.h"
>  SysLibFind(MathLibName, &MathLibRef);
>  SysLibLoad(LibType, MathLibCreator, &MathLibRef);
>  MathLibOpen(MathLibRef, MathLibVersion);
>  a=sin(33); 
>  MathLibClose(MathLibRef, &usecount);
>  
>  
>  
>  -- 
>  For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>  
>  
>  



-- 


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to