signMask and integer operations