Math library

Discussion to talk about software related topics only.
Post Reply
SeeCwriter
Posts: 606
Joined: Mon May 12, 2008 10:55 am

Math library

Post 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
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: Math library

Post by Ridgeglider »

See:
Attachments
math.h.jpg
math.h.jpg (35.94 KiB) Viewed 2661 times
SeeCwriter
Posts: 606
Joined: Mon May 12, 2008 10:55 am

Re: Math library

Post 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
k1mgy
Posts: 24
Joined: Thu Oct 14, 2010 8:25 am

Re: Math library

Post 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.
SeeCwriter
Posts: 606
Joined: Mon May 12, 2008 10:55 am

Re: Math library

Post 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
Post Reply