Revision history [back]
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;
gint16 i16 = h & 0x0000ffff;
return ((float)i16) / 0x7fff;
}