Added in API level 1
Deprecated in API level 22

FloatMath


open class FloatMath
kotlin.Any
   ↳ android.util.FloatMath

Math routines similar to those found in java.lang.Math.

Historically these methods were faster than the equivalent double-based java.lang.Math methods. On versions of Android with a JIT they became slower and have since been re-implemented to wrap calls to java.lang.Math. java.lang.Math should be used in preference.

All methods were removed from the public API in version 23.

Summary