The following currently fails for const variables: ``` const CustomFloat!16 x = CustomFloat!16(3); assert(x.get!float == 3); assert(x.re.get!float == 3); assert(x + x == 6); assert(x + 1 == 4); assert(2 + x == 5); assert(x < 4); ```
@tim-dlang created dlang/phobos pull request #9083 "Fix bugzilla 24851 - Some members of CustomFloat can have const this" fixing this issue: - Fix bugzilla 24851 - Some members of CustomFloat can have const this https://github.com/dlang/phobos/pull/9083
dlang/phobos pull request #9083 "Fix bugzilla 24851 - Some members of CustomFloat can have const this" was merged into master: - 8b051674ccad978a6668b074ac9c345c543c414a by Tim Schendekehl: Fix bugzilla 24851 - Some members of CustomFloat can have const this https://github.com/dlang/phobos/pull/9083