Android Guides | Samples

Java.Lang.Float.FloatToRawIntBits Method

Returns an integer corresponding to the bits of the given single precision float value.

Syntax

[Android.Runtime.Register("floatToRawIntBits", "(F)I", "")]
public static Int32 FloatToRawIntBits (Single value)

Parameters

value

Remarks

Returns an integer corresponding to the bits of the given single precision float value. Not-a-Number (NaN) values are preserved (compare to Float.FloatToIntBits(Single)).

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1