WordPress at a glance
function is not described

ParagonIE_Sodium_Core32_Int32::subInt() public WP 1.0

Subtract a normal integer from an int32 object.

{} It's a method of the class: ParagonIE_Sodium_Core32_Int32{}

No Hooks.

Return

ParagonIE_Sodium_Core32_Int32. Null. Nothing.

Usage

$ParagonIE_Sodium_Core32_Int32 = new ParagonIE_Sodium_Core32_Int32();
$ParagonIE_Sodium_Core32_Int32->subInt( $int );
$int(int) (required)
-

Code of ParagonIE_Sodium_Core32_Int32::subInt() WP 5.7

<?php
public function subInt($int)
{
    ParagonIE_Sodium_Core32_Util::declareScalarType($int, 'int', 1);
    /** @var int $int */
    $int = (int) $int;

    $return = new ParagonIE_Sodium_Core32_Int32();
    $return->unsignedInt = $this->unsignedInt;

    /** @var int $tmp */
    $tmp = $this->limbs[1] - ($int & 0xffff);
    /** @var int $carry */
    $carry = $tmp >> 16;
    $return->limbs[1] = (int) ($tmp & 0xffff);

    /** @var int $tmp */
    $tmp = $this->limbs[0] - (($int >> 16) & 0xffff) + $carry;
    $return->limbs[0] = (int) ($tmp & 0xffff);
    return $return;
}