编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « gmp_kronecker
  • gmp_legendre »
  • PHP Manual
  • GMP 函数
  • Calculate GCD

gmp_lcm

(PHP 7 >= 7.3.0)

gmp_lcm — Calculate GCD

说明

gmp_lcm ( mixed $a , mixed $b ) : GMP

This function computes the least common multiple (lcm) of a and b.

参数

a

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

b

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

返回值

GMP 数值资源.

参见

  • gmp_gcd() - Calculate GCD
相关文章
php gmp 函数 absolute valuephp gmp 函数 add numbersphp gmp 函数 export to a binary stringphp gmp 函数 factorialphp gmp 函数 calculate gcdphp gmp 函数 calculate gcd and multipliersphp gmp 函数 hamming distancephp gmp 函数 import from a binary stringphp gmp 函数 calculate gcdphp gmp 函数 find next prime numberphp gmp 函数 bitwise orphp gmp 函数 perfect power checkphp gmp 函数 perfect square checkphp gmp 函数 population countphp gmp 函数 set bitphp gmp 函数 sign of numberphp gmp 函数 calculate square rootphp gmp 函数 square root with remainderphp gmp 函数 convert gmp number to stringphp 字符串 函数 calculate the metaphone key of a string
关注编程学问公众号
编程学问网 湘ICP备20001732号