Regarding Math functions

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

cross mob
Anonymous
Not applicable

How can print float valves and also square and square root functions.is there any library to get those functions to work.

0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Use sprintf() to convert float to char string and then UART, USB/UART to

   

terminal. Attached formatting string info for use in sprintf().

   

 

   

Extended math libraries - http://www.cypress.com/knowledge-base-article/using-math-functions-psoc-creator-psoc-4-or-psoc-5lp-g...

   

 

   

http://www.keil.com/pack/doc/CMSIS/DSP/html/index.html

   

 

   

Regards, Dana.

0 Likes