hypot

hypot

> 功能

返回边为 x* 和 *y 的直角三角形的斜边。 相当于 sqrt(x2 + y2)

设置

#### 反馈

#### 例子

hypot(1, 1) // sqrt(2) hypot(3, 4) // 5

也可以看看