https://issues.dlang.org/show_bug.cgi?id=24851
Issue ID: 24851
Summary: Some members of CustomFloat can have const this
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
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);
```
--