trunc: Implement result sign according to IEEE 754.