Download
Download Latest
Version Support Policy
Documentation
Documentation Home
Tutorial
Project
Governance
Branding
License
GitHub Repository
Community
Contribute to PHP
Online Communities
Events | Conferences
Mailing Lists
PHP 8.5
All Releases
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
参考
PHP Manual
PHP Manual
»
GMP
»
GMP 関数
GMP 関数
より数学的な関数が、
数学
の節にあります。
目次
gmp_abs
— 絶対値
gmp_add
— 数値を加算する
gmp_and
— ビット AND を計算する
gmp_binomial
— 二項係数を計算する
gmp_clrbit
— ビットをクリアする
gmp_cmp
— 数を比較する
gmp_com
— 1 の補数を計算する
gmp_div
— gmp_div_q のエイリアス
gmp_div_q
— 数値を除算する
gmp_div_qr
— 除算を行い、商と余りを得る
gmp_div_r
— 除算の余りを計算する
gmp_divexact
— 正確な除算
gmp_export
— バイナリ文字列にエクスポートする
gmp_fact
— 階乗
gmp_gcd
— 最大公約数を計算する
gmp_gcdext
— 最大公約数と乗数を計算する
gmp_hamdist
— ハミング距離
gmp_import
— バイナリ文字列からインポートする
gmp_init
— GMP 数を作成する
gmp_intval
— GMP 数を整数に変換する
gmp_invert
— 法による逆
gmp_jacobi
— ヤコビ記号
gmp_kronecker
— クロネッカーの記号を計算する
gmp_lcm
— 最小公倍数を計算する
gmp_legendre
— ルジェンドル記号
gmp_mod
— モジュロ演算
gmp_mul
— 数値を乗算する
gmp_neg
— 符号を反転する
gmp_nextprime
— 次の素数を見つける
gmp_or
— ビット OR を計算する
gmp_perfect_power
— 累乗数かどうかを調べる
gmp_perfect_square
— 平方数かどうかを調べる
gmp_popcount
— セットされているビットの数
gmp_pow
— べき乗を計算する
gmp_powm
— べき乗とモジュロを計算する
gmp_prob_prime
— 数が"おそらく素数"であるかどうかを調べる
gmp_random
— 乱数を生成する
gmp_random_bits
— 乱数を生成する
gmp_random_range
— 等確率に選ばれた整数を取得する
gmp_random_seed
— 乱数シードを設定する
gmp_root
— n乗根の整数部を返す
gmp_rootrem
— n乗根の整数部分と小数部分を返す
gmp_scan0
— 0 を探す
gmp_scan1
— 1 を探す
gmp_setbit
— ビットを設定する
gmp_sign
— 数の符号
gmp_sqrt
— 平方根を計算する
gmp_sqrtrem
— 余りつきの平方根
gmp_strval
— GMP 数を文字列に変換する
gmp_sub
— 数値の減算
gmp_testbit
— ビットが設定されているかどうかを調べる
gmp_xor
— ビット XOR を計算する
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open
Press
Enter
without selection to search using Google