Float 32 range in ccs

raman00084

Full Member level 6
Joined
Nov 29, 2010
Messages
375
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,076
I am using pic ccs c complier for dspic 33ep512mu810.
I need to know what is the float 32 max range.
How much integer and floating point can I use.
For example can I use 999999.9999
 

Simply review compiler manual or online help about data types.

You'll find that float32 can represent the questioned number, but not with 10 significant digits. That's not specific to CCS PCD, just an effect of mantissa length.
 

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…