Multiplication operators
Synopses
Declared in <arith_uint256.h>
Scale a fee rate by an integer factor.
CFeeRate
operator*(
int a,
CFeeRate const& f);
Scale a fee rate by an integer factor.
CFeeRate
operator*(
CFeeRate const& f,
int a);
Returns the product of a big integer and a 32‐bit value.
base_uint
operator*(
base_uint const& a,
uint32_t b);
Returns the product of two big integers.
base_uint
operator*(
base_uint const& a,
base_uint const& b);
Returns the product of a big integer and a 32‐bit value.
base_uint<256>
operator*(
base_uint<256> const& a,
uint32_t b);
Returns the product of two big integers.
base_uint<256>
operator*(
base_uint<256> const& a,
base_uint<256> const& b);
Return Value
-
The scaled fee rate.
-
The product of
aandb.
Parameters
Name |
Description |
a |
Integer multiplier. |
f |
Fee rate to scale. |
b |
The 32‐bit multiplier. |
Created with MrDocs