Float.FloatToRawIntBits(Single) Method

Definition

Returns a representation of the specified floating-point value according to the IEEE 754 floating-point "single format" bit layout, preserving Not-a-Number (NaN) values.

[Android.Runtime.Register("floatToRawIntBits", "(F)I", "")]
public static int FloatToRawIntBits (float value);
[<Android.Runtime.Register("floatToRawIntBits", "(F)I", "")>]
static member FloatToRawIntBits : 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.floatToRawIntBits(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