Helper function for 32*64 signed multiplication, returning an unspecified but totally ordered type. This is a version relying on __int128.

Synopsis

Declared in <util/feefrac.h>

static
__int128
Mul(
    int64_t a,
    int32_t b) noexcept;

Return Value

The 128‐bit product.

Parameters

Name

Description

a

The 64‐bit signed factor.

b

The 32‐bit signed factor.

Created with MrDocs