CustomFloat!(5, 2).min_exp should be 0, not 4294967297.
Comment #1 by dlang — 2019-10-02T17:44:21Z
Sorry, should be 1, because 2^(1-1)=2^0=1 is minimum value.
Comment #2 by dlang-bot — 2019-10-17T16:21:38Z
@berni44 created dlang/phobos pull request #7236 "Fix Issue 20263 - Wrong value for CustomFloat.min_exp" fixing this issue:
- Fix Issue 20263 - Wrong value for CustomFloat.min_exp
https://github.com/dlang/phobos/pull/7236
Comment #3 by dlang-bot — 2019-10-20T16:38:22Z
dlang/phobos pull request #7236 "Fix Issue 20263 - Wrong value for CustomFloat.min_exp" was merged into master:
- 3eac71f47decf281ef65561e18c9c4cbf29ba1dc by Bernhard Seckinger:
Fix Issue 20263 - Wrong value for CustomFloat.min_exp
https://github.com/dlang/phobos/pull/7236