HH\int_mul_add_overflow
Returns the overflow part of multiplying two ints plus another int, as if they were all unsigned
namespace HH;
function int_mul_add_overflow(
int $a,
int $b,
int $bias,
): int;
Specifically, this returns the upper 64 bits of full (unsigned)$a * (unsigned)$b + (unsigned)$bias. $bias can be used to manipulate rounding of the result.
Parameters
int $a
int $b
int $bias
Returns
int