Announcement

Collapse
No announcement yet.

Float binary format

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Joseph Herrera
    commented on 's reply
    Hi Angelplus,

    This Site might be interesting: (it is about big and little endian)
    https://www.cs.umd.edu/class/sum2003...ta/endian.html

    The ByteSwap() function in the internal functions might be interesting as well. (on page 113)
    http://www.4dsystems.com.au/productp...ons_R_1_16.pdf

    Hope this helps,

  • Angelplus
    replied
    I have found the solution..

    In windows 4.7 float is in hex 96 40 66 66
    In 4D is 40 96 66 66
    So to translate you need to change byte order:
    Windows: 1 2 3 4
    4d: 2 1 4 3

    ¿ Ok ?

    Leave a comment:


  • Angelplus
    started a topic Float binary format

    Float binary format

    Hi.

    I will like to know how is the internal float format.
    I am sending a float over a network communication to a Windows PC. I receive the float in 32 bit format, but it seems not to be in a standard format. I need to translate to a windows float.
    Can anyone help me ?
    Thanks.
Working...
X