2 ms·
> * Missing operations such as … simultaneous div/rem Doesn't the div function do this? > * There's no "bitcast" operator that changes the type of a value wit
by DerekL 7y ago
> * Missing operations such as … simultaneous div/rem
Doesn't the div function do this?
> * There's no "bitcast" operator that changes the type of a value without affecting the value. The most common workaround involves going through memory and praying the compiler will optimize that away (while violating strict aliasing semantics to boot).
> * Missing operations such as popcount, cttz, … or rotates.
Thankfully, these are coming in C++20.