diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-11-15 08:57:03 +0100 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-11-15 08:57:03 +0100 |
| commit | 902940401d1c1e657cdaf3e7bae8cbb89d14ffa9 (patch) | |
| tree | e6811396df64a7d4e05788752d5a343357aa846f /doc | |
| parent | b0f4c1d2b5076c453f3767426db3eecbdc6dfd42 (diff) | |
Previously you'd have to write `a * 2^*b` for left shift, which
is inefficient and cumbersome.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/sciteco.7.template | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index b6b0795..7a10f09 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -1129,12 +1129,21 @@ T};\^ Add \fIb\fP to \fIa\fP. T};\^ = -\fIa\fB & \fIb\fP;T{ -.SCITECO_TOPIC & and ampersand -Binary AND. +\fIa\fB ^< \fIb\fB;T{ +.SCITECO_TOPIC ^< "left shift" +Left shift \fIa\fP by \fIb\fP bits. T};T{ integers T} +\fIa\fB ^> \fIb\fB;T{ +.SCITECO_TOPIC ^> "right shift" +Right shift \fIa\fP by \fIb\fP bits. +T};\^ += +\fIa\fB & \fIb\fP;T{ +.SCITECO_TOPIC & and ampersand +Binary AND. +T};\^ = \fIa\fB ^# \fIb\fP;T{ .SCITECO_TOPIC ^# xor |
