Edit

Share via


Single.Pow(Single, Single) Method

Definition

Computes a value raised to a given power.

C#
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

Product Versions
.NET 7, 8, 9, 10