title: IEEE 754 double-precision numbers from MIPS C to Java conversion
body: <p>I have a PIC32 embedded microcontroller running the C32 compiler.  I'm sending a UDP packet containing a 64-bit double value to a Java program.  In my test, I'm trying to send the decimal value 40.5 to Java.</p>
  
  <p>I would expect to receive:
  0x4044400000000000</p>
  
  <p>since
  System.out.println(Double.longBitsToDouble(0x4044400000000000L));</p>
  
  <p>prints:
  40.5</p>
  
  <p>If I send the UDP packet without any conversions, I'm receiving:
  0x00002242352D3330</p>
  
  <p>Any idea how I can get this value into Java?  I can't make heads or tails of the C32 representation of the double.</p>