CustomFloat!(5, 2).mant_dig should be 5, not 6. If storeNormalized is not set, it should be 4.
Comment #1 by dlang — 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.
Comment #2 by robert.schadek — 2024-12-15T15:25:22Z