Läs på engelska Redigera

Dela via


Single.Pow(Single, Single) Method

Definition

Computes a value raised to a given power.

public static float Pow(float x, float y);

Parameters

x
Single

The value which is raised to the power of x.

y
Single

The power to which x is raised.

Returns

x raised to the power of y.

Implements

Applies to

Produkt Versioner
.NET 7, 8, 9, 10