Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"math/base/special/fast/hypot/docs/types/index.d"
External module "math/base/special/fast/hypot/docs/types/index.d"
Index
Functions
hypot
Functions
hypot
hypot
(
x
:
number
, y
:
number
)
:
number
Computes the hypotenuse.
Parameters
x:
number
number
y:
number
number
Returns
number
hypotenuse
Example
var
h = hypot(
-5.0
,
12.0
);
// returns 13.0
Packages
"math/base/special/fast/hypot/docs/types/index.d"
hypot
Computes the hypotenuse.