Hi,

Just wondering if the operation of short to char is a bug or intentional.
The most significant 8 bits of the short gets converted to char, ie:

0-255 (short) -> 0 (char)
256-511 (short) -> 1 (char)
512-767 (short) -> 2 (char)

This is not the operation I expected, but the unit test allows it to work
this way, so I am confused.

Regards,

Stephen
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to