Definition at line 31 of file Math.php.
◆ ceilFloat()
static pocketmine\math\Math::ceilFloat |
( |
| $n | ) |
|
|
static |
- Parameters
-
Definition at line 47 of file Math.php.
◆ floorFloat()
static pocketmine\math\Math::floorFloat |
( |
| $n | ) |
|
|
static |
- Parameters
-
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: