25 Feb
2018
25 Feb
'18
9:58 p.m.
Hi Jan,
line 100: if (qx > (uintDD)(~x1)) {
The compiler tells me that after taking the bitwise complement of x1, the (uintDD) cast will extend x1 by adding zeros, which is probably not the intention?
When you compare this line with the corresponding line 285 (for platforms without an uintDD type), you see that zero-extend is the intention here. More generally, unsigned integer types and zero-extend are the natural types/operations for the implementation of CLN. Signed integer types and sign-extend are not used so frequently. Bruno