logo

Navigation:First_Community->Software->Embedded Goto:New TopicSettingSearch
把连续的4个字节的unsigned char 数据转换成一个浮点数据,求算法
Posted by: keven Date: October 21, 2007 12:52PM
用union:

CopyRight owned by the original author.--(www.MegaEntry.com)

union a_bc{ float somefloat; unsigned char[4] somechar; };

CopyRight owned by the original author.--(www.MegaEntry.com)



Reply To This Message
Subject: 

Copyright 2005-2006 megaentry,All Rights Reserved
IE 6.0 or above is perfect