Skip to content

1 ULP error in 64 bit square root #4

Open
@arunkmv

Description

@arunkmv

Random tests fail with 1 ULP error for certain 64 bit square root conditions.
Need to check whether test generator or DivSqrt module is responsible and rectify it.

Utilization of long double for test generation could be causing the error:
pexpected = posit<nbits, es>(std::sqrt((long double)pa));

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions