64,281
社区成员
发帖
与我相关
我的任务
分享
#include <cstdio>
#include <stdint.h>
int main()
{
union
{
struct
{
uint32_t low;
uint32_t high;
};
double dblValue;
} value = {{0, 0xFFF00000}};
printf("%f\n", value.dblValue);
return 0;
}