This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

64 bit float

I know Keil does not support a 64 bit float.

Does anybody know of a way to create a 64 bit float? Maybe from a 32 bit float? The original data is in a ushort. We to create and read a 64 bit float to interface to an external device. We have no choice.

Parents
  • John;
    I do not know how to do the conversion. But the Keil CA51 User's Guide under 'Advanced' constructs show how Keil's tools convert the 32 bit 'Real' numbers to hex. That may give you some ideas for your double precision float constructs.
    Suggest that you google "double Precision Float'. I'm sure that you will find articles and algorithms for that will help you do the conversion.
    Bradford

Reply
  • John;
    I do not know how to do the conversion. But the Keil CA51 User's Guide under 'Advanced' constructs show how Keil's tools convert the 32 bit 'Real' numbers to hex. That may give you some ideas for your double precision float constructs.
    Suggest that you google "double Precision Float'. I'm sure that you will find articles and algorithms for that will help you do the conversion.
    Bradford

Children