public function __construct($prime, $inverse, $xor = 0)
{
$this->prime = (int) $prime;
$this->inverse = (int) $inverse;
$this->xor = (int) $xor;
// Check which calculation mode should be used.
if (static::$mode === null) {
static::$mode = PHP_INT_SIZE === 4 ? static::MODE_GMP : static::MODE_NATIVE;
}
}