Unary minus operators

Synopses

Declared in <script/script.h>

Returns the negation of this value.

Returns the difference of this value and another CScriptNum.

CScriptNum
operator‐(CScriptNum const& rhs) const;

Returns the difference of this value and an integer.

CScriptNum
operator‐(int64_t const& rhs) const;

Return Value

  • The negated value.

  • The resulting value.

Parameters

Name

Description

rhs

Value to subtract.

Created with MrDocs