[Dlang-internal] I need cent and ucent to be implemented soon
user1234
user1234 at 12.de
Sat May 4 12:00:08 UTC 2019
On Saturday, 4 May 2019 at 11:03:59 UTC, Alex wrote:
> On Saturday, 4 May 2019 at 04:28:55 UTC, Murilo wrote:
>> Hi guys, I am writing a program what will use very big
>> numbers, when will you guys implement cent and ucent?
>
> Why BigInt doesn't fit?
> https://dlang.org/phobos/std_bigint.html
128 bits int are supposed to be a fast, fixed size, standard
integer type. BigInt is more designed for arbitrary length. Also
GCC and LLVM-based backends could support them easily. DMD
implementation would be more something like d templates funcs
(since hooks are being left away) in druntime (likely in
object.d) with asm inside...
More information about the Dlang-internal
mailing list