Time to move std.experimental.checkedint to std.checkedint ?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Wed Mar 31 03:32:40 UTC 2021
On 3/30/21 7:01 PM, tsbockman wrote:
> Simply flipping compiler switches (the -ftrapv and -fwrapv flags in gcc
> Andrei mentioned earlier) won't work, because most high performance code
> contains some deliberate and correct examples of wrapping overflow,
> signed-unsigned reinterpretation, etc.
>
> Idiomatic Zig code (probably Ada, too) does contain this information.
> But, the selection of "real world" open source Zig code available for
> testing is limited right now, since Zig hasn't stabilized the language
> or the standard library yet.
That's awfully close to "No true Scotsman".
More information about the Digitalmars-d
mailing list