MathF.ScaleB(Single, Int32) Methode

Definition

Gibt x * 2^n effizient berechnet zurück.

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

Parameter

x
Single

Eine Gleitkommazahl mit einfacher Genauigkeit, die den Basiswert darstellt.

n
Int32

Eine Gleitkommazahl mit einfacher Genauigkeit, die den Exponenten darstellt.

Gibt zurück

Single

x * 2^n effizient berechnet.

Gilt für