Skip to content

Fixed8, Fixed16, etc. #57

Closed
Closed
@ssfrr

Description

@ssfrr

In audio it's common to use signed integer samples, which in FixedPointNumbers parlance becomes Fixed{Int16, 15} for 16-bit samples, or Fixed{Int8, 7} for 8-bit.

For my use cases, aliases like Fixed8, Fixed16 with the above definitions would be useful, but I see there's already a definition for Fixed16 to Fixed{Int32, 16}, and a deprecated Fixed32 that aliases to the current Fixed16 definition.

Would these definitions also work for the use-cases currently using the Fixed16 definition, or do they need the extra storage space for values outside [-1, 1)?

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