Bcmath extension adapter
Create string representing big integer in decimal form from arbitrary integer format
Parameters: |
|
---|---|
Return type: | bool|string |
Add two big integers
Parameters: |
|
---|---|
Return type: | string |
Subtract two big integers
Parameters: |
|
---|---|
Return type: | string |
Multiply two big integers
Parameters: |
|
---|---|
Return type: | string |
Divide two big integers and return integer part result. Raises exception if the divisor is zero.
Parameters: |
|
---|---|
Return type: | string |
Throws : | ExceptionDivisionByZeroException |
Raise a big integers to another
Parameters: |
|
---|---|
Return type: | string |
Get the square root of a big integer
Parameters: | string – |
---|---|
Return type: | string |
Get absolute value of a big integer
Parameters: | string – |
---|---|
Return type: | string |
Get modulus of a big integer
Parameters: |
|
---|---|
Return type: | string |
Raise a big integer to another, reduced by a specified modulus
Parameters: |
|
---|---|
Return type: | string |
Compare two big integers and returns result as an integer where Returns < 0 if leftOperand is less than rightOperand; > 0 if leftOperand is greater than rightOperand, and 0 if they are equal.
Parameters: |
|
---|---|
Return type: | int |
Convert big integer into it’s binary number representation
Parameters: |
|
---|---|
Return type: | string |