Float.FloatToIntBits(Single) Method

Definition

Returns a representation of the specified floating-point value according to the IEEE 754 floating-point "single format" bit layout.

[Android.Runtime.Register("floatToIntBits", "(F)I", "")]
public static int FloatToIntBits (float value);
[<Android.Runtime.Register("floatToIntBits", "(F)I", "")>]
static member FloatToIntBits : single -> int

Parameters

value
Single

a floating-point number.

Returns

Int32

the bits that represent the floating-point number.

Attributes

Remarks

Java documentation for java.lang.Float.floatToIntBits(float).

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