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