Boys can we get cent/ucent

lkfsdg via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed Jul 27 03:58:01 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 
> cent/ucent?

bit sets up to 128 elements, on the stack and without the 
indirection that a BitArray would imply.


More information about the digitalmars-d-ldc mailing list