Inspectopedia Help

Incorrect Half Float

Incorrect Half Float

Half-precision floating point are stored in a short data type, and should be manipulated using the android.util.Half class. This check flags usages where it appears that these values are used incorrectly.

Issue id: HalfFloat

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3

Plugin:

Android, 2022.3.1 Beta 2

Last modified: 13 July 2023