? 數(shù)學(xué)擴(kuò)展
簡(jiǎn)介 ?
Bejson.com
PHP Manual
數(shù)學(xué)擴(kuò)展
BCMath 任意精度數(shù)學(xué)
BCMath 任意精度數(shù)學(xué)
簡(jiǎn)介
安裝/配置
需求
安裝
運(yùn)行時(shí)配置
資源類(lèi)型
預(yù)定義常量
BC 數(shù)學(xué) 函數(shù)
bcadd
— 兩個(gè)任意精度數(shù)字的加法計(jì)算
bccomp
— 比較兩個(gè)任意精度的數(shù)字
bcdiv
— 兩個(gè)任意精度的數(shù)字除法計(jì)算
bcmod
— 任意精度數(shù)字取模
bcmul
— 兩個(gè)任意精度數(shù)字乘法計(jì)算
bcpow
— 任意精度數(shù)字的乘方
bcpowmod
— Raise an arbitrary precision number to another, reduced by a specified modulus
bcscale
— 設(shè)置/獲取所有 bc math 函數(shù)的默認(rèn)小數(shù)點(diǎn)保留位數(shù)
bcsqrt
— 任意精度數(shù)字的二次方根
bcsub
— 兩個(gè)任意精度數(shù)字的減法