Skip to content

sqrt_fx16_16_to_fx16_16 overflowing. #3

@apodtele

Description

@apodtele

sqrt_fx16_16_to_fx16_16( 0x61a80000 ) returns 0x81a54a, which corresponds to sqrt(25000) = 129.6457. Ouch!

The correct answer is 158.1139.

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