PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
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: