diff options
author | Neil Fuller <nfuller@google.com> | 2014-10-16 08:16:23 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-10-16 08:16:24 +0000 |
commit | fd2d41b742339d278f4a66f78a7c161108985ed8 (patch) | |
tree | 3445ab2c4a1b3814793e06727932e11e9d9f48c5 /core/java | |
parent | e67bc0c96733cee01e6f3027d9e6243f10ebbe40 (diff) | |
parent | 32b88b48daa7383880088246d7222dd93cf55285 (diff) | |
download | frameworks_base-fd2d41b742339d278f4a66f78a7c161108985ed8.zip frameworks_base-fd2d41b742339d278f4a66f78a7c161108985ed8.tar.gz frameworks_base-fd2d41b742339d278f4a66f78a7c161108985ed8.tar.bz2 |
Merge "Replacing FloatMath native implementation with calls to Math"
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/util/FloatMath.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/core/java/android/util/FloatMath.java b/core/java/android/util/FloatMath.java index 0ffd5bd..d33ca0d 100644 --- a/core/java/android/util/FloatMath.java +++ b/core/java/android/util/FloatMath.java @@ -17,10 +17,13 @@ package android.util; /** - * Math routines similar to those found in {@link java.lang.Math}. On - * versions of Android with a JIT, these are significantly slower than - * the equivalent {@code Math} functions, which should be used in preference - * to these. + * Math routines similar to those found in {@link java.lang.Math}. + * + * <p>Historically these methods were faster than the equivalent double-based + * {@link java.lang.Math} methods. On versions of Android with a JIT they + * became slower and have since been re-implemented to wrap calls to + * {@link java.lang.Math}. {@link java.lang.Math} should be used in + * preference. */ public class FloatMath { |