Function __global->hypot
Definitions
sources_custom/phpstub.php
- Calculate the length of the hypotenuse of a right-angle triangle.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: float
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $x | float | No | No | required parameter | N/A | N/A | X |
| $y | float | No | No | required parameter | N/A | N/A | Y |
Returns
- Result
- Type: float
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Calculate the length of the hypotenuse of a right-angle triangle.
*
* @param float $x X
* @param float $y Y
* @return float Result
*/
function hypot(float $x, float $y) : float
* Calculate the length of the hypotenuse of a right-angle triangle.
*
* @param float $x X
* @param float $y Y
* @return float Result
*/
function hypot(float $x, float $y) : float

