"trun" bitwise functions