summaryrefslogtreecommitdiffstats
path: root/core/java/android/util
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-10-18 20:41:27 +0000
committerElliott Hughes <enh@google.com>2014-10-18 20:41:27 +0000
commitb3b68d03337274ada521199d507491bc756c4319 (patch)
treebac7296c422f7e4f628ed5b1ece0637115712701 /core/java/android/util
parent32b88b48daa7383880088246d7222dd93cf55285 (diff)
downloadframeworks_base-b3b68d03337274ada521199d507491bc756c4319.zip
frameworks_base-b3b68d03337274ada521199d507491bc756c4319.tar.gz
frameworks_base-b3b68d03337274ada521199d507491bc756c4319.tar.bz2
Revert "Replacing FloatMath native implementation with calls to Math"
This reverts commit 32b88b48daa7383880088246d7222dd93cf55285. Change-Id: I40ea17f3a68f2b53eb013aebd3ba1becdc724f94
Diffstat (limited to 'core/java/android/util')
-rw-r--r--core/java/android/util/FloatMath.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/core/java/android/util/FloatMath.java b/core/java/android/util/FloatMath.java
index d33ca0d..0ffd5bd 100644
--- a/core/java/android/util/FloatMath.java
+++ b/core/java/android/util/FloatMath.java
@@ -17,13 +17,10 @@
package android.util;
/**
- * 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.
+ * 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.
*/
public class FloatMath {