Comment #0 by ilyayaroshenko — 2020-06-18T15:17:47Z
The issue description depends on Issue https://issues.dlang.org/show_bug.cgi?id=20951
Pass:
auto d = 1.448997445238699;
assert(d == 0x1.72f17f1f49aaep+0);
Failed:
assert(1.448997445238699 == 0x1.72f17f1f49aaep+0);
Please note, that for both cases the valid literal value is NOT 0x1.72f17f1f49aaep+0 but 0x1.72f17f1f49aadp+0, see also the Issue 20951.
Probably the last assert uses real to parse the literal, which isn't correct because it is a double literal.
Comment #1 by robert.schadek — 2024-12-13T19:09:23Z