operator*

Multiplication operators

Synopses

Declared in <arith_uint256.h>

Scale a fee rate by an integer factor.

CFeeRate
operator*(
    int a,
    CFeeRate const& f);
» more...

Scale a fee rate by an integer factor.

CFeeRate
operator*(
    CFeeRate const& f,
    int a);
» more...

Returns the product of a big integer and a 32-bit value.

base_uint
operator*(
    base_uint const& a,
    uint32_t b);
» more...

Returns the product of two big integers.

base_uint
operator*(
    base_uint const& a,
    base_uint const& b);
» more...

Returns the product of a big integer and a 32-bit value.

base_uint<256>
operator*(
    base_uint<256> const& a,
    uint32_t b);
» more...

Returns the product of two big integers.

base_uint<256>
operator*(
    base_uint<256> const& a,
    base_uint<256> const& b);
» more...

Return Value

  • The scaled fee rate.
  • The product of a and b.

Parameters

NameDescription
aInteger multiplier.
fFee rate to scale.
bThe 32-bit multiplier.