THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

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;

}