On 13 Nov 2015 7:05 am, "Walter Bright via Digitalmars-d" < [email protected]> wrote: > > On 11/12/2015 4:43 PM, Ali Çehreli wrote: >> >> So the question is, do we support twos complement only, hence signed overflow is >> defined as wrap, > > > Yes. I see no reason to support 1's complement. > > It's worth checking how LDC and GDC deal with this deep in their optimizer - is it considering it undefined behavior? >
We are not. For gdc, the fwrapv flag is enabled by default.
