编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « gmp_random
  • gmp_rootrem »
  • PHP Manual
  • GMP 函数
  • Take the integer part of nth root

gmp_root

(PHP 5 >= 5.6.0, PHP 7)

gmp_root — Take 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

可以是一个 GMP 数据 resouce,或一个可以转换为数值的字符串。

nth

The positive root to take of a.

返回值

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

相关文章
php gmp 函数 absolute valuephp gmp 函数 add numbersphp gmp 函数 calculate gcd and multipliersphp gmp 函数 hamming distancephp gmp 函数 convert gmp number to integerphp gmp 函数 perfect square checkphp gmp 函数 population countphp gmp 函数 take the integer part of nth rootphp gmp 函数 take the integer part and remainder of nth rootphp gmp 函数 calculate square rootphp gmp 函数 square root with remainderphp gmp 函数 convert gmp number to stringphp maxdb 函数 returns the version of the maxdb server as an integerphp 多字节字符串 函数 returns the matched part of a multibyte regular expressionphp radius 函数 attaches a vendor specific integer attributephp svn 函数 get a handle on a specific version of the repository rootphp svn 函数 creates and returns a transaction rootphp trader 函数 vector square rootphp com 函数 returns the integer portion of a variantphp sdo das xml 函数 returns root element s uri string
关注编程学问公众号
编程学问网 湘ICP备20001732号