WordPress at a glance
function is not described

ParagonIE_Sodium_Core_Util::abs() public WP 1.0

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

No Hooks.

Return

Int. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Core_Util::abs( $integer, $size );
$integer(int) (required)
-
$size(int)
(16, 32, 64)

Code of ParagonIE_Sodium_Core_Util::abs() WP 5.7.1

<?php
public static function abs($integer, $size = 0)
{
    /** @var int $realSize */
    $realSize = (PHP_INT_SIZE << 3) - 1;
    if ($size) {
        --$size;
    } else {
        /** @var int $size */
        $size = $realSize;
    }

    $negative = -(($integer >> $size) & 1);
    return (int) (
        ($integer ^ $negative)
            +
        (($negative >> $realSize) & 1)
    );
}