Single.Pow(Single, Single) Method
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 a value raised to a given power.
public:
static float Pow(float x, float y) = System::Numerics::IPowerFunctions<float>::Pow;
C#
public static float Pow(float x, float y);
static member Pow : single * single -> single
Public Shared Function Pow (x As Single, y As Single) As Single
- x
- Single
The value which is raised to the power of x
.
- y
- Single
The power to which x
is raised.
x
raised to the power of y
.
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: