DIP80: phobos additions

ponce via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 23 05:26:08 PDT 2015


On Wednesday, 10 June 2015 at 15:44:40 UTC, Andrei Alexandrescu 
wrote:
> On 6/10/15 1:53 AM, ponce wrote:
>> On Wednesday, 10 June 2015 at 07:56:46 UTC, John Chapman wrote:
>>> It's a shame ucent/cent never got implemented. But couldn't 
>>> they be
>>> added to Phobos? I often need a 128-bit type with better 
>>> precision
>>> than float and double.
>>
>> FWIW:
>> https://github.com/d-gamedev-team/gfm/blob/master/math/gfm/math/wideint.d
>
> Yes, arbitrary fixed-size integrals would be good to have in 
> Phobos. Who's the author of that code? Can we get something 
> going here? -- Andrei

Sorry for the delay. I wrote this code a while earlier.
I will relicense it anyway that is needed (if needed).
Currently lack the time to polish it more (adding custom literals 
would be the one thing to do).



More information about the Digitalmars-d mailing list