summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.19
1 files changed, 9 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 0838a5c4..9195a2bd 100644
--- a/txr.1
+++ b/txr.1
@@ -1152,6 +1152,15 @@ and the upper or lower case letters A through F:
#xFF ;; 255
#x-ABC ;; -2748
+Similarly, octal numbers are supported with the prefix #o followed by
+octal digits:
+
+ #b777 ;; 511
+
+and binary numbers can be written with a #b prefix:
+
+ #b1110 ;; 14
+
A floating-point constant is marked by the inclusion of a decimal point, the
exponential "e notation", or both. It is an optional sign, followed
by a mantissa consisting of digits, a decimal point, more digits, and then an