Single.Hypot(Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the hypotenuse given two values representing the lengths of the shorter sides in a right-angled triangle.
public:
static float Hypot(float x, float y) = System::Numerics::IRootFunctions<float>::Hypot;
public static float Hypot (float x, float y);
static member Hypot : single * single -> single
Public Shared Function Hypot (x As Single, y As Single) As Single
Parameters
- x
- Single
The value to square and add to y
.
- y
- Single
The value to square and add to x
.
Returns
The square root of x
-squared plus y
-squared.
Implements
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.