编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 函数 bitwise andphp gmp 函数 calculate gcdphp gmp 函数 calculate gcd and multipliersphp gmp 函数 hamming distancephp gmp 函数 import from a binary stringphp gmp 函数 create gmp numberphp gmp 函数 calculate gcdphp gmp 函数 perfect square checkphp gmp 函数 population countphp gmp 函数 raise number into powerphp gmp 函数 raise number into power with modulophp gmp 函数 calculate square rootphp gmp 函数 square root with remainderphp gmp 函数 convert gmp number to stringphp gmp 函数 subtract numbersphp gmp 函数 tests if a bit is setphp 字符串 函数 calculate the metaphone key of a stringphp socket 函数 calculate message buffer size
关注编程学问公众号
编程学问网 湘ICP备20001732号