std.experimental.checkedint is ready for comments!

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 15 14:32:57 PDT 2016


On 15.06.2016 18:40, Andrei Alexandrescu wrote:
>
> The only remaining matter is to implement a few preexisting policies
> (Hook implementations) to implement typical choices (such as the ones
> present today), and the core algorithms for doing bounded operations.
> The most interesting algorithms are for computing the bounds of
> operations such as |, &, and ^. The D compiler needs those as well, and
> currently implements them incorrectly. I have these in my mind and I can
> help with those.

https://github.com/tgehr/d-compiler/blob/master/vrange.d#L338


More information about the Digitalmars-d mailing list