PHP includes numerous libraries and functions to facilitates working with mathematical calcluations. These functions are listed below:

### List of PHP BC Math functions

FUNCTION DESCRIPTION
bccomp Compare two arbitrary precision numbers
bcdiv Divide two arbitrary precision numbers
bcmod Get modulus of an arbitrary precision number
bcmul Multiply two arbitrary precision numbers
bcpow Raise an arbitrary precision number to another
bcpowmod Raise an arbitrary precision number to another, reduced by a specified modulus
bcscale Set default scale parameter for all bc math functions
bcsqrt Get the square root of an arbitrary precision number
bcsub Subtract one arbitrary precision number from another

### List of PHP Math functions

FUNCTION DESCRIPTION
abs Absolute value
acos Arc cosine
acosh Inverse hyperbolic cosine
asin Arc sine
asinh Inverse hyperbolic sine
atan2 Arc tangent of two variables
atan Arc tangent
atanh Inverse hyperbolic tangent
base_convert Convert a number between arbitrary bases
bindec Binary to decimal
ceil Round fractions up
cos Cosine
cosh Hyperbolic cosine
decbin Decimal to binary
decoct Decimal to octal
exp Calculates the exponent of e
expm1 Returns exp(number) - 1, computed in a way that is accurate even when the value of number is close to zero
pi Get value of pi
pow Exponential expression
rand Generate a random integer
round Rounds a float
sin Sine
sinh Hyperbolic sine
sqrt Square root
srand Seed the random number generator
tan Tangent
tanh Hyperbolic tangent

### List of PHP BC Statistics functions

FUNCTION DESCRIPTION
stats_absolute_deviation Returns the absolute deviation of an array of values.
stats_cdf_beta CDF function for BETA Distribution. Calculates any one parameter of the beta distribution given values for the others.
stats_cdf_binomial Calculates any one parameter of the binomial distribution given values for the others.
stats_cdf_cauchy Not documented
stats_cdf_chisquare Calculates any one parameter of the chi-square distribution given values for the others.
stats_cdf_exponential Not documented
stats_cdf_f Calculates any one parameter of the F distribution given values for the others.
stats_cdf_gamma Calculates any one parameter of the gamma distribution given values for the others.
stats_cdf_laplace Not documented
stats_cdf_logistic Not documented
stats_cdf_negative_binomial Calculates any one parameter of the negative binomial distribution given values for the others.
stats_cdf_noncentral_chisquare Calculates any one parameter of the non-central chi-square distribution given values for the others.
stats_cdf_noncentral_f Calculates any one parameter of the Non-central F distribution given values for the others.
stats_cdf_poisson Calculates any one parameter of the Poisson distribution given values for the others.
stats_cdf_t Calculates any one parameter of the T distribution given values for the others.
stats_cdf_uniform Not documented

### List of PHP Trader functions

FUNCTION DESCRIPTION