@@ -238,7 +238,7 @@ defmodule Kernel do
238238 When comparing two numbers of different types (a number being either
239239 an integer or a float), a conversion to the type with greater precision
240240 will always occur, unless the comparison operator used is either `===/2`
241- or `!==`. A float will be considered more precise than an integer, unless
241+ or `!==/2 `. A float will be considered more precise than an integer, unless
242242 the float is greater/less than +/-9007199254740992.0 respectively,
243243 at which point all the significant figures of the float are to the left
244244 of the decimal point. This behavior exists so that the comparison of large
@@ -247,9 +247,7 @@ defmodule Kernel do
247247 The collection types are compared using the following rules:
248248
249249 * Tuples are compared by size, then element by element.
250- * Maps are compared by size, then by keys in ascending term order,
251- then by values in key order. In the specific case of maps' key
252- ordering, integers are always considered to be less than floats.
250+ * Maps are compared by size, then by key-value pairs.
253251 * Lists are compared element by element.
254252 * Bitstrings are compared byte by byte, incomplete bytes are compared bit by bit.
255253 * Atoms are compared using their string value, codepoint by codepoint.
0 commit comments