Прочетете на английски Редактиране

Споделяне чрез


NFloat.Exp2(NFloat) 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 2 raised to a given power.

C#
public static System.Runtime.InteropServices.NFloat Exp2(System.Runtime.InteropServices.NFloat x);

Parameters

x
NFloat

The power to which 2 is raised.

Returns

2x

Implements

Applies to

Продукт Версии
.NET 7, 8, 9, 10