Script integer with the overflow and encoding semantics of Bitcoin's numeric opcodes.
Synopsis
Declared in <script/script.h>
class CScriptNum;
Member Functions
Name |
Description |
|
Constructors |
Assigns an integer value. |
|
Returns the full 64‐bit value without clamping. |
|
Returns the value clamped to the range of int. |
|
Returns the byte‐vector encoding of this value. |
|
Bitwise conjunction operators |
|
Bitwise conjunction assignment operators |
|
Addition operators |
|
Addition assignment operators |
|
Unary minus operators |
|
Subtraction assignment operators |
|
Equality operators |
|
Three‐way comparison operators |
Static Member Functions
Name |
Description |
Encodes an integer as a little‐endian, sign‐magnitude byte vector. |
Static Data Members
Name |
Description |
Default maximum size, in bytes, of a script number encoding. |
Created with MrDocs