Go to: Synopsis. Return value. MEL examples.
hypot
float float
hypot is NOT undoable, NOT queryable, and NOT editable.
This command is implemented using the builtin system function. Let the input arguments be x and y, respectively. hypot(x,y) return sqrt(x*x+y*y) computed in such a way that overflow will not happen, and underflow occurs only if the final result deserves it.float | Hypotenuse value |
hypot 3 4; // Result:, 5 //