KSDK bug with float?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KSDK bug with float?

1,612件の閲覧回数
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.

タグ(2)
0 件の賞賛
返信
1 返信

1,443件の閲覧回数
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 件の賞賛
返信