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

Page spec/property.html should mention, that mant_dig includes the (not saved) leading 1 of the mantissa. #4096

Open
dlangBugzillaToGithub opened this issue Oct 2, 2019 · 1 comment

Comments

@dlangBugzillaToGithub
Copy link

Berni reported this on 2019-10-02T17:33:57Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=20262

Description

CustomFloat!(5, 2).mant_dig should be 5, not 6. If storeNormalized is not set, it should be 4.
@dlangBugzillaToGithub
Copy link
Author

dlang (@Vild) commented on 2019-10-02T18:39:52Z

Meanwhile I found out, that mant_dig is defined differently, than I thought - the leeding 1, that is not saved in IEEE floats, is counted too. Therefore I changed title and component of this bug report. The documentation should mention, that this 1 is counted.

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

No branches or pull requests

1 participant