public byte ToByte(IFormatProvider provider) { uint ret; if (AsUInt32(out ret) && (ret & ~0xFF) == 0) { return (byte)ret; } throw new OverflowException(MathResources.BigIntWontFitByte); }