BigNum - x

The - operator creates a new BigNum instance and assigns to it the value of the BigNum minus x. The x value can be a number, a string, or a BigNum. Use bn:minus(value) instead of bn = bn - value where possible due to higher performance.

Example

bn = BigNum.new(1)
result = bn + 1