gmp_root

(PHP 5 >= 5.6.0, PHP 7)

gmp_rootTake the integer part of nth root

説明

gmp_root ( GMP $a , int $nth ) : GMP

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

パラメータ

a

PHP 5.5 以前での GMP 数リソース、PHP 5.6 以降での GMP オブジェクト、あるいは数値に変換可能な数値形式の文字列。

nth

The positive root to take of a.

返り値

The integer component of the resultant root, as a GMP number.

add a note add a note

User Contributed Notes

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