mul
Multiplies two SD49x28 numbers together, returning a new SD49x28 number.
*Notes:
- Refer to the notes in {Common.mulDiv18}. Requirements:
- Refer to the requirements in {Common.mulDiv18}.
- None of the inputs can be
MIN_SD49x28
. - The result must fit in SD49x28.*
function mul(SD49x28 x, SD49x28 y) pure returns (SD49x28 result);
Parameters
Name | Type | Description |
---|---|---|
x | SD49x28 | The multiplicand as an SD49x28 number. |
y | SD49x28 | The multiplier as an SD49x28 number. |
Returns
Name | Type | Description |
---|---|---|
result | SD49x28 | The product as an SD49x28 number. |