Boys can we get cent/ucent
deadalnix via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Tue Jul 26 10:45:39 PDT 2016
On Sunday, 24 July 2016 at 07:04:01 UTC, Jonathan Marler wrote:
> On Friday, 22 July 2016 at 22:37:46 UTC, deadalnix wrote:
>> I know that DMD doesn't support it, but it has been a pain in
>> the ass to not have cent/ucent for me.
>> Adding support in LDC shouldn't be too difficult, as one can
>> emit an i128 and let LLVM do the work. Would that be possible ?
>> There is a bunch of virtual hugs to be won doing so, and if
>> you are in the bay area, definitively a beer or something :)
> Out of curiosity, what sort of things do you do that would use
Mostly for 64 bits operation that can overflow. Like when you
want the mulhi of 2 longs for instance.
More information about the digitalmars-d-ldc