|
From: | Fabian Schwartau |
Subject: | Re: Conversion from char (byte) to float |
Date: | Fri, 20 Aug 2021 11:38:26 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
Am 20.08.21 um 11:24 schrieb Marcin Puchlik:
Conversion from byte to float works wrong (in my opinion) for byte variables greater than 127. Correct me if I'm wrong: char/byte range is from 0 to 255 (included). In GNU Radio, after conversion from char/byte variable type (that is greater than 127) to float, the result is negative. Seems like range for byte in GNU Radio is from -128 to 127. Can somebody confirm it? I am asking for clarification.
[Prev in Thread] | Current Thread | [Next in Thread] |