Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Assuming that it is, here is the relevant function from epan/dissectors/packet-oran.c

/* Special case for uncompressed/16-bit value */

static float uncompressed_to_float(guint32 h)

{ gint16 i16 = h & 0x0000ffff;

return ((float)i16) / 0x7fff;

}

Assuming that it is, here is the relevant function from epan/dissectors/packet-oran.c

/* Special case for uncompressed/16-bit value */

static float uncompressed_to_float(guint32 h)

{ {

gint16 i16 = h & 0x0000ffff;

0x0000ffff;
return ((float)i16) / 0x7fff;

}