D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20262 - Page spec/property.html should mention, that mant_dig includes the (not saved) leading 1 of the mantissa.
Summary: Page spec/property.html should mention, that mant_dig includes the (not saved...
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P3 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-02 17:33 UTC by Berni
Modified: 2024-12-15 15:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Berni 2019-10-02 17:33:57 UTC
CustomFloat!(5, 2).mant_dig should be 5, not 6. If storeNormalized is not set, it should be 4.
Comment 1 Berni 2019-10-02 18:39:52 UTC
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.
Comment 2 dlangBugzillaToGithub 2024-12-15 15:25:22 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dlang.org/issues/4096

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB