cancel
Showing results for 
Search instead for 
Did you mean: 

floating point library

danielfischer9
Associate II
Posted on June 23, 2010 at 07:25

I have to use floating point functions in my application; sqrt, sin, cos, atan.

I have included <math.h>, so the source files compile.  I am using STVD with the Cosmic toolset.

How do I tell the environment to link the floating point library? If I do nothing, the linker complains about not finding sqrt, sin, cos, atan.

I guess I must use libfs0.sm8.  Please provide step by step instructions on how to get to the dialog where I must type in the name of the library.

Thanks.

Daniel

1 REPLY 1
danielfischer9
Associate II
Posted on June 23, 2010 at 08:30

I found it.

Project/Settings/Linker Tab (by clicking <> until the tab is in view, then select it)/Select Standard Libraries.

Daniel