public BigInteger min (BigInteger val)

Returns the minimum of this BigInteger and val.

Parameters:
val    value with which the minimum is to be computed.

Returns:  the BigInteger whose value is the lesser of this BigInteger and val. If they are equal, either may be returned.