Integer overflow and underflow semantics?

Artur Skawina via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 21 12:33:20 PDT 2014


On 07/21/14 16:32, bearophile via Digitalmars-d wrote:
> https://github.com/D-Programming-Language/dmd/pull/1803

Disallowing integer overflow just at CT is not (sanely) possible
in a language with D's CTFE capabilities. (Would result in code
that compiles and works at runtime, but is not ctfe-able)

artur


More information about the Digitalmars-d mailing list