Some code interprets sc16 components as normalized values having 15 fractional bits and 1 sign bit, giving them the range [-1.0, 1.0), but they are also often thought of as just twos complement in the range [-32768, 32767]. Mathematically, either interpretation works as long as you remain consistent. It mostly only matters when you start mixing or converting between types. For example, when UHD converts sc16 to fc32, it puts the resulting values in the range [-1.0, 1.0) of the float.
Wade On Wed, Jun 17, 2026 at 2:21 PM Marcus D. Leech <[email protected]> wrote: > On 2026-06-17 14:30, Barnard, Michael T wrote: > > I’m trying to get a handle on what the exact data format used in the FPGA > is. I understand that each I and Q sample is 16 bits long but how many of > those bits are fractional and how many are integer? The documentation only > states that the samples are SC16 but doesn’t specify anything beyond that. > > > > Michael Barnard > > TL Computer Engineer, Scalable Computing Group > > Applied Sensing Division > > > > 300 College Park, Dayton, OH 45469-0031 > > O:(937) 713-4271 | C:(440) 622-6486 | udri.udayton.edu > > [image: 1621527942842] > > > ------------------------------ > The information contained in this e-mail and any attachments from UDRI may > contain confidential and/or proprietary information, and is intended only > for the named recipient to whom it was originally addressed. If you are not > the intended recipient, any disclosure, distribution, or copying of this > e-mail or its attachments is strictly prohibited. If you have received this > e-mail in error, please notify the sender immediately by return e-mail and > permanently delete the e-mail and any attachments. > > UDRI Proprietary - Unprotected > > _______________________________________________ > USRP-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] > > They are twos-complement integers. > > > _______________________________________________ > USRP-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] >
_______________________________________________ USRP-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
