How should I call standard C language mathematical function?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Dave_Long
Level 3
Level 3
10 replies posted 10 questions asked 10 sign-ins

Hi;

    As the picture show:

pastedImage_1.png

pastedImage_2.png

There is a error when I call the "pow" function .

1 Solution

Hi:

   Bob,I think the right path is Project -> Build Settings -> Arm -> Linker -> General -> Additional libraries.

   pastedImage_0.png

View solution in original post

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You need to tell the compiler to include additional library mlib. This is done in Project -> Build Settings -> Arm -> Compiler -> General -> Additional libraries. Here you have to enter just the letter "m".

Bob

0 Likes

Hi:

   Bob,I think the right path is Project -> Build Settings -> Arm -> Linker -> General -> Additional libraries.

   pastedImage_0.png

0 Likes