Skip to content

[Discussion] Should sdr::Rgb use fixed precision instead of integers? #8

@Adnn

Description

@Adnn

Currently RGB<uint8_t> component-wise multiplication does not work as expected: it will essentially overflow the integral value (a * b), instead of providing the product of "normalized values" (i.e. a/255 * b/255)

This might be addressed with fixed point precision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions