Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

Preprocessor Arithmetic Limitations (RaisinToe)

$
0
0
Using the XC16 compiler for dsPIC33, I am noticing many limitations when trying to process arithmetic in a #define. The preprocessor does not seem to recognize the third line. #define A 1.0#define B 2.0#define C A*(1-2/B) //not recognized Additionally, I ..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



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