hypot 计算直角三角形的斜边长度 &reftitle.description; floathypot floatx floaty hypot 函数将会根据直角三角形的两直角边长度 xy 计算其斜边的长度。或者是坐标点 (x, y)到原点的距离。该函数的算法等同于 sqrt($x*$x + $y*$y) &reftitle.parameters; x 第一条边的长度 y 第二条边的长度 &reftitle.returnvalues; 计算斜边的长度