哈希空间 Ctrl + F 进行搜索
首页 php手册中文版 CSS中文手册 哈希文档 Markdown在线工具

简介

These functions allow for arbitrary-length integers to be worked with using the GNU MP library.

注意:

Most GMP functions accept GMP number arguments. These are shown in this documentation as GMP objects. Most of these functions will also accept numeric and string arguments, so long as it is possible to convert the latter to a number. Also, if there is a more performant function that can operate on the arguments (integers only), then it will be used instead (this is done transparently). See also the gmp_init() function.

注意:

From PHP 5.6 onwards, the arithmetic, bitwise, and comparison operators may be used with the GMP objects returned from gmp_init() and other GMP functions.

警告

Large integers must be specified as strings - otherwise, PHP will coerce them to floats, resulting in a loss of precision.

注意: This extension is available on Windows platforms.

打开 哈希空间 微信小程序中查看更佳