创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


arduino:language:hypot

hypot()

描述

hypot函数对于给定的直角三角形的两个直角边,求其斜边的长度。

语法

hypot(x, y);

参数

x int or float: x-coordinate of the point

y int or float: y-coordinate of the point

返回 float

本页面的其他翻译:
arduino/language/hypot.txt · 最后更改: 2016/12/25 22:15 (外部编辑)