BC is the abbreviation for binary calculator. The arguments to the bc* function are the operands plus an optional [int scale], such as String Bcadd (String $left _operand, String $right _operand[, int $scale]), if scale is not provided , the default value of Bcscale is used. Here the large number is directly represented by a string of 0-9, and the result of the calculation is also a string.
Bcadd? Add two high-precision numbers
Bccomp? Compare two high-precision numbers, return-1, 0, 1
Bcdiv? Divide two high-precision numbers
Bcmod? Finding high-precision digital remainder
Bcmul? Multiply two high-precision numbers
Bcpow? To find the high-precision digital exponentiation
Bcpowmod? It is very common in number theory to find high-precision digital exponentiation.
Bcscale? Configure the default number of decimal places, equivalent to the "scale=" in Linux BC
Bcsqrt? Finding the square root of high precision numbers
Bcsub? Subtract two high-precision numbers
Modify the php.ini configuration file directly under Windows
1
Then restart Apache.
Need to recompile Apache under Linux