Skip to content

Handle nonsensical signal min/max bounds #64

Description

@hulthe
 SG_ ByteWithNegativeMin : 32|8@1+ (1,-2) [-127|127] "" Vector__XXX

^ In this signal, the min bound of -127 is lower than the lowest representable value -2.
If one were to pass in a value lower than -2 to the setter function, it would underflow and result in nonsense.
check_ranges doesn't help either as it only validates that the value is within -127..=127

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