C語言浮點數相加語法

printf("Temperature Channel %d = %6.2f ℃\n", index, (float)((temperature >>6) & 0x1ff) + (((float)(temperature & 0x3f)) * 0.015625));
arrow
arrow
    文章標籤
    浮點相加 C
    全站熱搜

    JL8051 發表在 痞客邦 留言(0) 人氣()