diff options
Diffstat (limited to 'src/library/scala/math/Ordering.scala')
-rw-r--r-- | src/library/scala/math/Ordering.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/math/Ordering.scala b/src/library/scala/math/Ordering.scala index 30e13d9f0e..3eeebc8aea 100644 --- a/src/library/scala/math/Ordering.scala +++ b/src/library/scala/math/Ordering.scala @@ -27,11 +27,11 @@ import java.util.Comparator * <li>reflexive: <code>compare(x, x) == 0</code>, for any <code>x</code> of * type <code>T</code>.</li> * <li>symmetry: <code>compare(x, y) == z</code> and <code>compare(y, x) == w</code> - * then <code>Math.signum(z) == -Math.signum(w)</code>, for any <code>x</code> and <code>y</code> of + * then <code>math.signum(z) == -math.signum(w)</code>, for any <code>x</code> and <code>y</code> of * type <code>T</code> and <code>z</code> and <code>w</code> of type <code>Int</code>.</li> * <li>transitive: if <code>compare(x, y) == z</code> and <code>compare(y, w) == v</code> - * and <code>Math.signum(z) >= 0</code> and <code>Math.signum(v) >= 0</code> then - * <code>compare(x, w) == u</code> and <code>Math.signum(z + v) == Math.signum(u)</code>, + * and <code>math.signum(z) >= 0</code> and <code>math.signum(v) >= 0</code> then + * <code>compare(x, w) == u</code> and <code>math.signum(z + v) == math.signum(u)</code>, * for any <code>x</code>, <code>y</code>, * and <code>w</code> of type <code>T</code> and <code>z</code>, <code>v</code>, and <code>u</code> * of type <code>Int</code>.</li> |