Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug next to 0 on posit (8,0) #15

Open
RaulMurillo opened this issue Dec 10, 2018 · 1 comment
Open

Bug next to 0 on posit (8,0) #15

RaulMurillo opened this issue Dec 10, 2018 · 1 comment

Comments

@RaulMurillo
Copy link
Contributor

When setting the posit environment (8,0), there is a small interval (0, (1/(64^2)+1/64)/2) where the posits take a rounding value greater than 0, which is not consistent with the Posit standard.
I guess this is a error on the fraction part of the posit, but I'm not completely sure. But one can check that Posit (1/64).decode() == Posit (1/(64**2)).decode() = (0, -6, 0, 1) and every number between the fisrt one and the mean of those decodes as (0, 0, 0, 0)

bug

@RaulMurillo
Copy link
Contributor Author

Remark: also happens in the negative interval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant