summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2013-02-26 10:02:45 -0800
committer Android Git Automerger <android-git-automerger@android.com> 2013-02-26 10:02:45 -0800
commitc22657f8b1e3b9198f1e7795a06a6f59b5cd9c80 (patch)
tree58df76b81c55f1ba0af8a128f07c47801dc5ec2d
parentf7497c9e551dd3bcbb7438211f5022cc6341c527 (diff)
parent3f5778c858b90b554d7614603346b642d1a7bc6d (diff)
am 3f5778c8: Merge "Fix incorrect FloatMath documentation."
* commit '3f5778c858b90b554d7614603346b642d1a7bc6d': Fix incorrect FloatMath documentation.
-rw-r--r--core/java/android/util/FloatMath.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/core/java/android/util/FloatMath.java b/core/java/android/util/FloatMath.java
index 955622396aac..0ffd5bd61098 100644
--- a/core/java/android/util/FloatMath.java
+++ b/core/java/android/util/FloatMath.java
@@ -17,12 +17,10 @@
package android.util;
/**
- * Math routines similar to those found in {@link java.lang.Math}. Performs
- * computations on {@code float} values directly without incurring the overhead
- * of conversions to and from {@code double}.
- *
- * <p>On one platform, {@code FloatMath.sqrt(100)} executes in one third of the
- * time required by {@code java.lang.Math.sqrt(100)}.</p>
+ * 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 {