C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Integer overflow arithmetic

From: Tiago Freire <tmiguelf_at_[hidden]>
Date: Sun, 18 Feb 2024 18:23:24 +0000
> Who cares about the specifics of how that operation is implemented. It is a good way to EXPRESS the operation in the C++ language, and in principle, the codegen can be optimal. If it isn't, that's a quality-of-implementation issue and not relevant to the C++ standard.

Ok, here's a challenge. Try implementing the standard set of 512bit operations in terms of 128bit casts, and let's see how fun that is.
Let's see if it is the "better" interface.

Received on 2024-02-18 18:23:26