예제 #1
0
		public static half Abs(half half)
		{
			return half.ToHalf((ushort)(half.value & 0x7fff));
		}
예제 #2
0
		public static half Negate(half half)
		{
			return half.ToHalf((ushort)(half.value ^ 0x8000));
		}