CScriptNum::operator-

Unary minus operators

Synopses

Declared in <script/script.h>

Returns the negation of this value.

CScriptNum
operator-() const;
» more...

Returns the difference of this value and another CScriptNum.

CScriptNum
operator-(CScriptNum const& rhs) const;
» more...

Returns the difference of this value and an integer.

CScriptNum
operator-(int64_t const& rhs) const;
» more...

Return Value

  • The negated value.
  • The resulting value.

Parameters

NameDescription
rhsValue to subtract.