Page 1 of 1
Math library
Posted: Wed Nov 03, 2010 8:55 am
by SeeCwriter
I am unable to find a math library. Please tell me there is one and I'm just too blind to see it. Then tell where to find it.
Thank you,
Steve
Re: Math library
Posted: Wed Nov 03, 2010 9:06 am
by Ridgeglider
See:
Re: Math library
Posted: Wed Nov 03, 2010 9:23 am
by SeeCwriter
Thank you. Besides the obvious question of why is this not is any of the NB documentation, when I add math-68881.h I get a bunch of errors about "impossible asm construction" for the log function. Any ideas on what that is all about?
Steve
Re: Math library
Posted: Wed Nov 03, 2010 9:28 am
by k1mgy
I have it in my docs.
If you installed in c:/nburn:
/nburn/docs/GNU/libm.pdf
The asm (assembler?) construction error is something I am not yet familiar with.
One thought, be sure to include libm in the necessary paths for the linker to resolve properly.
Re: Math library
Posted: Wed Nov 03, 2010 9:55 am
by SeeCwriter
Adding libm did nothing to help. However, I found a Math.h file in the include-fixed directory, and when I use that, I get a clean compile. I also found the libm.pdf file you mentioned before as the documentation.
Thanks for the help.
Steve