KSDK bug with float?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KSDK bug with float?

840 Views
armaram
Contributor III

Is there a bug in float display/ compute in ksdk1.3 or am I missing something? I randomly keep getting an additional 1 while displaying floating point numbers lower than 1. Please see attached screen shot.

Tags (2)
0 Kudos
1 Reply

671 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Arvind,

Do you use the console or RS232 to display the float number?  If you use Rs232, i think you can use sprintf() function to convert the float to string, then display the string.

do you use KDS tools?

Hope it can help you

BR

XiangJun Rong

0 Kudos