共用方式為


hypot 功能

適用于:核取標示為是 Databricks SQL 檢查標示為是 Databricks Runtime

sqrt(expr1 * expr1 + expr2 * expr2) 回 。

語法

hypot(expr1, expr2)

參數

  • expr1:評估為數值的運算式。
  • expr2:評估為數值的運算式。

返回

DOUBLE。

例子

> SELECT hypot(3, 4);
 5.0