This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

64bit precision



Hi everybody,

I am just curious, if Texas Instrument will make a support of 64bit precision for C2000 32-bit MCU. What I need is possibility counting with double (64bit) likely than with float (32bit) inside MCU.

Thank you for your reply

Kind Regards

Stan

  • Stanislav Jancik said:

    Hi everybody,

    I am just curious, if Texas Instrument will make a support of 64bit precision for C2000 32-bit MCU. What I need is possibility counting with double (64bit) likely than with float (32bit) inside MCU.

    Thank you for your reply

    Kind Regards

    Stan

    64-bit data types are supported in the compiler today.  

    long long and unsigned long long are the 64 bit integer types.

    long double is the 64-bit IEEE float.  Note that this is done in SW without any hardware acceleration behind it at this time so it can be quite slow.

    Ref: compiler ref guide: www.ti.com/lit/spru514

    Regards

    Lori

  • Hi Lori,

    Thank you very much for your answer. But I have other one. If I was trying to use mathematical library, than I realize, that although I can use long double as 64-bit EEE float, but the library cannot work with 64bit number, but only with 32bit number. So I am not able to use sin(), cos(), etc. functions. Do you have any idea how to use that?

  • Stanislav Jancik said:

    Hi Lori,

    Thank you very much for your answer. But I have other one. If I was trying to use mathematical library, than I realize, that although I can use long double as 64-bit EEE float, but the library cannot work with 64bit number, but only with 32bit number. So I am not able to use sin(), cos(), etc. functions. Do you have any idea how to use that?

    At this time we do not have any libraries with these functions for 64-bit. 

    -Lori