aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/reference_manual/expressions.xml
diff options
context:
space:
mode:
authorPierre Fenoll <[email protected]>2018-08-07 14:48:41 +0200
committerPierre Fenoll <[email protected]>2018-08-07 14:48:41 +0200
commit70b5549473edfedba6c2af70e6b8e446f7c4e92b (patch)
tree98c546c1c95cd7866509508578175ca6a298201b /system/doc/reference_manual/expressions.xml
parentcfebc7ca5667807768755e0a0cdac641e8fbb54d (diff)
downloadotp-70b5549473edfedba6c2af70e6b8e446f7c4e92b.tar.gz
otp-70b5549473edfedba6c2af70e6b8e446f7c4e92b.tar.bz2
otp-70b5549473edfedba6c2af70e6b8e446f7c4e92b.zip
Document how atoms are ordered
Diffstat (limited to 'system/doc/reference_manual/expressions.xml')
-rw-r--r--system/doc/reference_manual/expressions.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml
index 94e40dd077..7eaa575f80 100644
--- a/system/doc/reference_manual/expressions.xml
+++ b/system/doc/reference_manual/expressions.xml
@@ -574,6 +574,8 @@ number &lt; atom &lt; reference &lt; fun &lt; port &lt; pid &lt; tuple &lt; map
ascending term order and then by values in key order.
In maps key order integers types are considered less than floats types.
</p>
+ <p>Atoms are compared using their string value, character by character.
+ </p>
<p>When comparing an integer to a float, the term with the lesser
precision is converted into the type of the other term, unless the
operator is one of <c>=:=</c> or <c>=/=</c>. A float is more precise than