NFloat.Hypot(NFloat, NFloat) Método

Definição

Calcula a hipotenusa dados dois valores que representam os comprimentos dos lados mais curtos num triângulo retângulo.

public:
 static System::Runtime::InteropServices::NFloat Hypot(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::IRootFunctions<System::Runtime::InteropServices::NFloat>::Hypot;
public static System.Runtime.InteropServices.NFloat Hypot(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member Hypot : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Hypot (x As NFloat, y As NFloat) As NFloat

Parâmetros

x
NFloat

O valor para quadrar e adicionar a y.

y
NFloat

O valor para quadrar e adicionar a x.

Devoluções

A raiz quadrada de x-ao quadrado mais y-ao quadrado.

Implementações

Aplica-se a