diff options
author | Elliott Hughes <enh@google.com> | 2013-02-26 17:37:58 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-02-26 17:37:58 +0000 |
commit | 3f5778c858b90b554d7614603346b642d1a7bc6d (patch) | |
tree | ee184f8a553eda59a0782cbc89760a963c78857f /core/java/android | |
parent | 755205ade42d6458c68bf1ee6852db0b23ecc4f5 (diff) | |
parent | f732a2f83f43769653f9dc5975faf1d6d0bd19f6 (diff) | |
download | frameworks_base-3f5778c858b90b554d7614603346b642d1a7bc6d.zip frameworks_base-3f5778c858b90b554d7614603346b642d1a7bc6d.tar.gz frameworks_base-3f5778c858b90b554d7614603346b642d1a7bc6d.tar.bz2 |
Merge "Fix incorrect FloatMath documentation."
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/util/FloatMath.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/core/java/android/util/FloatMath.java b/core/java/android/util/FloatMath.java index 9556223..0ffd5bd 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 { |