Skip to content

Initializing Fxp with hex if hex contains 'b' init crashes #15

@FredKellerman

Description

@FredKellerman

Hi Franco, Sorry about this but I have found if a 'b' hex char appears the string appears to be interpreted as binary and then it will crash if the digits are not 0 or 1

You can reproduce the error with this:

f = Fxp('0xb', True, 10, 4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions