PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\math\Math Class Reference
+ Collaboration diagram for pocketmine\math\Math:

Static Public Member Functions

static ceilFloat ($n)
 
static floorFloat ($n)
 
static solveQuadratic (float $a, float $b, float $c)
 

Detailed Description

Definition at line 31 of file Math.php.

Member Function Documentation

◆ ceilFloat()

static pocketmine\math\Math::ceilFloat ( $n)
static
Parameters
float$n

Definition at line 47 of file Math.php.

◆ floorFloat()

static pocketmine\math\Math::floorFloat ( $n)
static
Parameters
float$n

Definition at line 39 of file Math.php.

◆ solveQuadratic()

static pocketmine\math\Math::solveQuadratic ( float $a,
float $b,
float $c )
static

Solves a quadratic equation with the given coefficients and returns an array of up to two solutions.

Returns
float[]

Definition at line 57 of file Math.php.


The documentation for this class was generated from the following file: