Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетил 20251 программист и 1081 робот. Сейчас ищут 683 программиста ...
Приступая к работе

gmp_rootrem - Take the integer part and remainder of nth root

Вернуться к: GMP Функции

gmp_rootrem

(PHP 5 >= 5.6.0, PHP 7)

gmp_rootremTake the integer part and remainder of nth root

Описание

array gmp_rootrem ( GMP $a , int $nth )

Takes the nth root of a and returns the integer component and remainder of the result.

Список параметров

a

Или ресурс resource GMP числа в PHP 5.5 и ранее, или объект класса GMP в PHP 5.6 и новее, или числовая строка, при условии, что ее можно преобразовать в число позже.

nth

The positive root to take of a.

Возвращаемые значения

A two element array, where the first element is the integer component of the root, and the second element is the remainder, both represented as GMP numbers.



Вернуться к: GMP Функции

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware