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

PHP 5.5 이전에서 GMP 수 resource나, PHP 5.6 이후에서 GMP 객체, 또는 수로 변환할 수 있는 문자열일 수 있습니다.

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top