How to compile functions from math.h header files

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

cross mob
assh_3716096
Level 2
Level 2
First like received First like given

Hi all,

For my application, I need to use some math library functions like round() and sin(). Even after including math.h header files, there is compilation error.

please suggest how to compile math library, I'm working with latest version of WICED SDK.

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi,

The math.h functions are not supported in WICED studio.

Regards,
Anjana

View solution in original post

4 Replies
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi,

The math.h functions are not supported in WICED studio.

Regards,
Anjana

Hi Anjana,

Thanks for your reply. What solution do you suggest if I've to use some functions from math library.

Regards,

Ashish

0 Likes

Hi Ashish,

As of now, customer have to add their own custom functions or library files for math functions.

You may also refer to the thread pointed by Roy : Re: Floating-Point Arithmetic

Thanks,
Anjana

0 Likes