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;
}
2 | No.2 Revision |
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;
}