Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 217102

Forum Post: RE: CCS/TMS320F28379D: #DEFINE something. How do I know the type of something? Is it integer? FLoat??

$
0
0
Use a suffix after the constant to force its type. For example 1L is a long. 3.14F is a float. Static code checkers will look for ambiguous constants. Regards Lori

Viewing all articles
Browse latest Browse all 217102

Trending Articles



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