Quantcast
Channel: MPLAB XC32
Viewing all articles
Browse latest Browse all 1537

c - double value returned gets corrupted by 'litofp()' (Joe B.)

$
0
0
The following line of c code produces incorrect machine code?: double tmp;static char buffer;tmp = getNVMExtractionRate();sprintf(buffer, "%6.1f\n\r", tmp); disassembly: !double getNVMExtractionRate() !{0x9D050FC4: LUI V0, -24575 0x9D050FC8: ADDIU V0, V..

Viewing all articles
Browse latest Browse all 1537

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>