scorrpeio
Full Member level 5
Hello,
I am using MSP430 series mcu and CCS4 IDE.
I have to manipulate data upto 12 digits max. (9999999999.99)
I assumed only float can carry this much sized values since its limit seems to be 3.4 e^38. So, I declared variables as float. Now, even floats can't work for my purpose. The values greater than 8 digits are erroneous (I see them erroneous when I use sprintf function over them).
I have tried with "double" which is 64 bit in CCS4. But, that is not supported by CCS4.
Kindly let me know, how could I declare and manipulate such a high valued variables?
I am using MSP430 series mcu and CCS4 IDE.
I have to manipulate data upto 12 digits max. (9999999999.99)
I assumed only float can carry this much sized values since its limit seems to be 3.4 e^38. So, I declared variables as float. Now, even floats can't work for my purpose. The values greater than 8 digits are erroneous (I see them erroneous when I use sprintf function over them).
I have tried with "double" which is 64 bit in CCS4. But, that is not supported by CCS4.
Kindly let me know, how could I declare and manipulate such a high valued variables?