Math.Scalb 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.
Overloads
Scalb(Double, Int32) |
Returns |
Scalb(Single, Int32) |
Returns |
Scalb(Double, Int32)
Returns d
×
2<sup>scaleFactor
</sup> rounded as if performed
by a single correctly rounded floating-point multiply to a
member of the double value set.
[Android.Runtime.Register("scalb", "(DI)D", "")]
public static double Scalb (double d, int scaleFactor);
[<Android.Runtime.Register("scalb", "(DI)D", "")>]
static member Scalb : double * int -> double
Parameters
- d
- Double
number to be scaled by a power of two.
- scaleFactor
- Int32
power of 2 used to scale d
Returns
d
× 2<sup>scaleFactor
</sup>
- Attributes
Remarks
Java documentation for java.lang.Math.scalb(double, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Scalb(Single, Int32)
Returns f
×
2<sup>scaleFactor
</sup> rounded as if performed
by a single correctly rounded floating-point multiply to a
member of the float value set.
[Android.Runtime.Register("scalb", "(FI)F", "")]
public static float Scalb (float f, int scaleFactor);
[<Android.Runtime.Register("scalb", "(FI)F", "")>]
static member Scalb : single * int -> single
Parameters
- f
- Single
number to be scaled by a power of two.
- scaleFactor
- Int32
power of 2 used to scale f
Returns
f
× 2<sup>scaleFactor
</sup>
- Attributes
Remarks
Java documentation for java.lang.Math.scalb(float, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.