]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/1/pc
acmemail(1): Nail => Mail
[plan9front.git] / sys / man / 1 / pc
index 26ae25690c329170fa4d9e4441a3402fc5188718..287938541de01120b32fba9d3a41380df9047539 100644 (file)
@@ -33,6 +33,9 @@ Expressions can use the C-like operators
 .TP
 .B < >= < <= == !=
 .PP
+The \fB$\fR operator performs sign extension. \fIn\fB$\fIx\fR truncates \fIx\fR to \fIn\fR bits and sign extends.
+If \fIn\fR is omitted, it is inferred from the highest set bit (the result is always ≤ 0 in this case).
+.PP
 Variables can be defined using
 .BR = .
 The builtin variable