-
Notifications
You must be signed in to change notification settings - Fork 0
c8_natural_operator_mi
Dave Hudson edited this page May 4, 2017
·
3 revisions
auto operator -(const natural &v) const -> natural;
Subtracts the value of v
(right hand side of the operator) from the value of this object (left hand side of the operator), resulting in a new c8::natural
number.
A new c8::natural
object with a value equal to the value of v
subtracted from the value of this object.
-
std::bad_alloc
in the event of a memory allocation failure. -
c8::not_a_number
if the result of the subtraction would be negative.