diff options
author | Neil Fuller <nfuller@google.com> | 2014-10-16 09:24:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-10-16 09:24:18 +0000 |
commit | 8a3785cafec4b47fe8d61614b04a0e193d616428 (patch) | |
tree | f9855a18626679abab1f086c6186ba858d1989ab /core/java | |
parent | 57622210fb9c8f9af21b85e87e93b7081db9f99c (diff) | |
parent | fd2d41b742339d278f4a66f78a7c161108985ed8 (diff) | |
download | frameworks_base-8a3785cafec4b47fe8d61614b04a0e193d616428.zip frameworks_base-8a3785cafec4b47fe8d61614b04a0e193d616428.tar.gz frameworks_base-8a3785cafec4b47fe8d61614b04a0e193d616428.tar.bz2 |
am fd2d41b7: Merge "Replacing FloatMath native implementation with calls to Math"
* commit 'fd2d41b742339d278f4a66f78a7c161108985ed8':
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 { |