Helper function for 32*64 signed multiplication, returning an unspecified but totally ordered type. This is a fallback version, separate so it can be tested on platforms where it isn't actually needed.
Synopsis
Declared in <util/feefrac.h>
static
std::pair<int64_t, uint32_t>
MulFallback(
int64_t a,
int32_t b) noexcept;
Return Value
The product as a totally ordered (high, low) pair.
Parameters
Name |
Description |
a |
The 64‐bit signed factor. |
b |
The 32‐bit signed factor. |
Created with MrDocs