public static short Abs (short value) { if (value == Int16.MinValue) throw new OverflowException (Locale.GetText ("Value is too small.")); return (short)((value < 0)? -value: value); }