From 426a3fca6259ba952a7511b5af42c3d3e6d696e9 Mon Sep 17 00:00:00 2001 From: Bert Burgemeister Date: Tue, 1 Sep 2009 20:08:35 +0200 Subject: [PATCH] moved ash and mask-field --- clqr-numbers.tex | 28 ++++++++++++++-------------- commit-message | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/clqr-numbers.tex b/clqr-numbers.tex index b20684c..e64cfbc 100644 --- a/clqr-numbers.tex +++ b/clqr-numbers.tex @@ -372,20 +372,6 @@ two's complement representation. \retval{number of 0 bits} in $\text{\VAR{int}}< 0$. } - \IT{(\FU*{ASH} \VAR{integer} \VAR{count})} - { - Return copy of \retval{\VAR{integer}} arithmetically shifted left by - \VAR{count} adding zeros - at the right, or, for $\VAR{count}<0$, shifted right discarding - bits. - } - - \IT{(\FU*{MASK-FIELD} \VAR{byte-spec} \VAR{integer})} - { - Return copy of \retval{\VAR{integer}} with all bits unset but those denoted by - \VAR{byte-spec}. \kwd{setf}able. - } - \end{LIST} @@ -399,6 +385,14 @@ two's complement representation. \retval{Number of bits} necessary to represent \VAR{integer}. } + \IT{(\FU*{ASH} \VAR{integer} \VAR{count})} + { + Return copy of \retval{\VAR{integer}} arithmetically shifted left by + \VAR{count} adding zeros + at the right, or, for $\VAR{count}<0$, shifted right discarding + bits. + } + \IT{(\FU*{LDB-TEST} \VAR{byte-spec} \VAR{integer})} { Return \retval{\T} if any bit specified by \VAR{byte-spec} in @@ -420,6 +414,12 @@ two's complement representation. \VAR{byte-spec}) bits of \VAR{int-a}, respectively. } + \IT{(\FU*{MASK-FIELD} \VAR{byte-spec} \VAR{integer})} + { + Return copy of \retval{\VAR{integer}} with all bits unset but those denoted by + \VAR{byte-spec}. \kwd{setf}able. + } + \IT{(\FU*{BYTE} \VAR{size} \VAR{position})} { \retval{Byte specifier} for a byte of \VAR{size} bits starting at a diff --git a/commit-message b/commit-message index 6138515..006724d 100644 --- a/commit-message +++ b/commit-message @@ -1 +1 @@ -pop is a macro rather than a function +moved ash and mask-field -- 2.11.4.GIT