MathF.ScaleB(Single, Int32) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne x * 2 ^ n calculé efficacement.
public:
static float ScaleB(float x, int n);
public static float ScaleB(float x, int n);
static member ScaleB : single * int -> single
Public Shared Function ScaleB (x As Single, n As Integer) As Single
- x
- Single
Nombre à virgule flottante simple précision qui spécifie la valeur de base.
- n
- Int32
Nombre à virgule flottante simple précision qui spécifie la puissance.
x * 2 ^ n calculé efficacement.
Produit | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :