共用方式為


Math.Hypot(Double, Double) Method

Definition

Returns sqrt(x<sup>2</sup>&nbsp;+y<sup>2</sup>) without intermediate overflow or underflow.

[Android.Runtime.Register("hypot", "(DD)D", "")]
public static double Hypot (double x, double y);
[<Android.Runtime.Register("hypot", "(DD)D", "")>]
static member Hypot : double * double -> double

Parameters

x
Double

a value

y
Double

a value

Returns

sqrt(x<sup>2</sup>&nbsp;+y<sup>2</sup>) without intermediate overflow or underflow

Attributes

Remarks

Java documentation for java.lang.Math.hypot(double, double).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to