php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
bcmath.stub.php File Reference

Go to the source code of this file.

Data Structures

class  BcMath\Number
 

Namespaces

namespace  BcMath
 

Functions

 bcadd (string $num1, string $num2, ?int $scale=null)
 
 bcsub (string $num1, string $num2, ?int $scale=null)
 
 bcmul (string $num1, string $num2, ?int $scale=null)
 
 bcdiv (string $num1, string $num2, ?int $scale=null)
 
 bcmod (string $num1, string $num2, ?int $scale=null)
 
 bcdivmod (string $num1, string $num2, ?int $scale=null)
 
 bcpowmod (string $num, string $exponent, string $modulus, ?int $scale=null)
 
 bcpow (string $num, string $exponent, ?int $scale=null)
 
 bcsqrt (string $num, ?int $scale=null)
 
 bccomp (string $num1, string $num2, ?int $scale=null)
 
 bcscale (?int $scale=null)
 
 bcfloor (string $num)
 
 bcceil (string $num)
 
 bcround (string $num, int $precision=0, RoundingMode $mode=RoundingMode::HalfAwayFromZero)
 

Function Documentation

◆ bcadd()

bcadd ( string $num1,
string $num2,
?int $scale = null )

@refcount 1

Definition at line 7 of file bcmath.stub.php.

◆ bcceil()

bcceil ( string $num)

@refcount 1

Definition at line 44 of file bcmath.stub.php.

◆ bccomp()

bccomp ( string $num1,
string $num2,
?int $scale = null )

Definition at line 36 of file bcmath.stub.php.

◆ bcdiv()

bcdiv ( string $num1,
string $num2,
?int $scale = null )

@refcount 1

Definition at line 16 of file bcmath.stub.php.

◆ bcdivmod()

bcdivmod ( string $num1,
string $num2,
?int $scale = null )
Returns
string[] @refcount 1

Definition at line 25 of file bcmath.stub.php.

◆ bcfloor()

bcfloor ( string $num)

@refcount 1

Definition at line 41 of file bcmath.stub.php.

◆ bcmod()

bcmod ( string $num1,
string $num2,
?int $scale = null )

@refcount 1

Definition at line 19 of file bcmath.stub.php.

◆ bcmul()

bcmul ( string $num1,
string $num2,
?int $scale = null )

@refcount 1

Definition at line 13 of file bcmath.stub.php.

◆ bcpow()

bcpow ( string $num,
string $exponent,
?int $scale = null )

@refcount 1

Definition at line 31 of file bcmath.stub.php.

◆ bcpowmod()

bcpowmod ( string $num,
string $exponent,
string $modulus,
?int $scale = null )

@refcount 1

Definition at line 28 of file bcmath.stub.php.

◆ bcround()

bcround ( string $num,
int $precision = 0,
RoundingMode $mode = RoundingMode::HalfAwayFromZero )

@refcount 1

Definition at line 47 of file bcmath.stub.php.

◆ bcscale()

bcscale ( ?int $scale = null)

Definition at line 38 of file bcmath.stub.php.

◆ bcsqrt()

bcsqrt ( string $num,
?int $scale = null )

@refcount 1

Definition at line 34 of file bcmath.stub.php.

◆ bcsub()

bcsub ( string $num1,
string $num2,
?int $scale = null )

@refcount 1

Definition at line 10 of file bcmath.stub.php.