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ù)字的減法