Condividi tramite


TypedValue.ComplexToFloat(Int32) Method

Definition

Retrieve the base value from a complex data integer.

[Android.Runtime.Register("complexToFloat", "(I)F", "")]
public static float ComplexToFloat (int complex);
[<Android.Runtime.Register("complexToFloat", "(I)F", "")>]
static member ComplexToFloat : int -> single

Parameters

complex
Int32

A complex data value.

Returns

A floating point value corresponding to the complex data.

Attributes

Remarks

Retrieve the base value from a complex data integer. This uses the #COMPLEX_MANTISSA_MASK and #COMPLEX_RADIX_MASK fields of the data to compute a floating point representation of the number they describe. The units are ignored.

Java documentation for android.util.TypedValue.complexToFloat(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