DoubleArithmeticHypotenuse Method (Double, Double)Mathos Core Library 1.0.5.1 (changeset 39720)
This documentation is compiled for the latest release of Mathos Core Library
This method gives more accurate values for Sqrt(x^2+y^2) using Naive method: Math.Sqrt(x*x+y*y) may be faster but it overflows for large values (more than 1e150) and underflows for small values (less than 1e-150)

Namespace: Mathos.Arithmetic
Assembly: Mathos (in Mathos.dll) Version: 1.0.5.1 (1.0.5.1)
Syntax

public static double Hypotenuse(
	double x,
	double y
)

Parameters

x
Type: SystemDouble
y
Type: SystemDouble

Return Value

Type: Double
See Also

Reference