[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuradio-discuss
Subject: Re: Conversion from char (byte) to float
From: Fabian Schwartau <fabian () opencode ! eu>
Date: 2021-08-20 9:38:26
Message-ID: 83b72b74-b497-e6c6-68e8-ea0405380c7e () opencode ! eu
[Download RAW message or body]
There are two conversion blocks called "Char to Float" and "UChar to
Float" - I guess you are looking for the second one. Both take "Byte" as
input.
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 list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic