编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « gmp_or
  • gmp_perfect_square »
  • PHP Manual
  • GMP 函数
  • Perfect power check

gmp_perfect_power

(PHP 7 >= 7.3.0)

gmp_perfect_power — Perfect power check

说明

gmp_perfect_power ( mixed $a ) : bool

Checks whether a is a perfect power.

参数

a

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

返回值

Returns TRUE if a is a perfect power, FALSE otherwise.

参见

  • gmp_perfect_square() - Perfect square check
相关文章
php gmp 函数 divide numbers and get quotient and remainderphp gmp 函数 remainder of the division of numbersphp gmp 函数 别名 gmp div qphp gmp 函数 exact division of numbersphp gmp 函数 legendre symbolphp gmp 函数 modulo operationphp gmp 函数 multiply numbersphp gmp 函数 perfect power checkphp gmp 函数 perfect square checkphp gmp 函数 raise number into powerphp gmp 函数 raise number into power with modulophp gmp 函数 check if number is probably prime php gmp 函数 take the integer part of nth rootphp gmp 函数 take the integer part and remainder of nth rootphp gmp 函数 scan for 0php intl 函数 check whether the given error code indicates failurephp mcve 函数 check to see if outgoing buffer is clearphp sodium 函数 check if hardware supports aes256 gcmphp com 函数 returns the result of performing the power function with two variantsphp gmp gmp 函数
关注编程学问公众号
编程学问网 湘ICP备20001732号