Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Add support for FixedPointParameters with negative number of integral bits. #406

Description

This is required to support fixed point formats with value ranges like [-0.5, 0.5), e.g.
Q-1.16 on 16 bits:
0x8000 -> -0.5 (32768/2^17)
0x7FFF -> 0.499984

Q-2.17 on 16 bits:
0x8000 -> -0.25 (32768/2^17)
0x7FFF -> 0.249992

For those formats number of integer bits needs to be set to negative value.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions