Bug 22827 – Deprecate 128-bit cent and ucent types
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-02-27T14:16:19Z
Last change time
2023-07-07T17:27:26Z
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0 by ibuclaw — 2022-02-27T14:16:19Z
After looking into implementing 128-bit integers (cent and ucent), it was noted that implementing them in DMD would about to a net negative trade-off of effort and compilation speed over any other benefit.
After more thought, the decision is likely to be that it's better to implement them as a library type, much in the same way that complex numbers were ripped out of the compiler and implemented as a library feature.
The work that has already been done on `cent`/`ucent` will not be wasted, as it can still be built on to implement the library type.
Comment #1 by dlang-bot — 2022-02-27T15:09:00Z
@ibuclaw created dlang/dmd pull request #13730 "Issue 22827 - Deprecate 128-bit cent and ucent types" mentioning this issue:
- Issue 22827 - Deprecate 128-bit cent and ucent types
https://github.com/dlang/dmd/pull/13730
Comment #2 by dlang-bot — 2022-03-08T09:43:47Z
dlang/dmd pull request #13730 "Issue 22827 - Deprecate 128-bit cent and ucent types" was merged into master:
- e89ab5b838e2cbee1a96916cb97fe125309a4951 by Iain Buclaw:
Issue 22827 - Deprecate 128-bit cent and ucent types
https://github.com/dlang/dmd/pull/13730
Comment #3 by maxhaton — 2022-06-07T11:43:54Z
The inability to implement them properly in dmd is shocking.