遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

2016年4月14日 #

浮点数转byte数组

摘要: long a=123451; float b=34.56745f; float c=0.0; byte fbs[]={0,0,0,0}; byte* t=fbs; float2Bytes(t,b); unsigned int addrF=(unsigned int) &b; unsigned int 阅读全文

posted @ 2016-04-14 16:28 遗忘海岸 阅读(2293) 评论(0) 推荐(0) 编辑