Handbook
Glossary
rep-size ( rep -- n )
CPU architecture description model
Prev:
rep-length ( rep -- n )
Next:
scalar-rep-of ( rep -- rep' )
Vocabulary
cpu
.
architecture
Inputs
rep
a
representation
Outputs
n
an
integer
Word description
Size in bytes of a representation.
IN:
cpu.architecture
UNION:
representation
any-rep
tagged-rep
int-rep
float-rep
double-rep
vector-rep
scalar-rep
;
Definition
IN:
cpu.architecture
GENERIC:
rep-size
( rep -- n )
foldable
flushable
Methods
USING:
cpu.architecture
kernel
;
M:
char-scalar-rep
rep-size
drop
1
;
USING:
cpu.architecture
kernel
;
M:
double-rep
rep-size
drop
8
;
USING:
cpu.architecture
kernel
;
M:
float-rep
rep-size
drop
4
;
USING:
cpu.architecture
kernel
layouts
;
M:
int-rep
rep-size
drop
cell
;
USING:
cpu.architecture
kernel
;
M:
int-scalar-rep
rep-size
drop
4
;
USING:
cpu.architecture
kernel
;
M:
longlong-scalar-rep
rep-size
drop
8
;
USING:
cpu.architecture
kernel
;
M:
short-scalar-rep
rep-size
drop
2
;
USING:
cpu.architecture
kernel
layouts
;
M:
tagged-rep
rep-size
drop
cell
;
USING:
cpu.architecture
kernel
;
M:
uchar-scalar-rep
rep-size
drop
1
;
USING:
cpu.architecture
kernel
;
M:
uint-scalar-rep
rep-size
drop
4
;
USING:
cpu.architecture
kernel
;
M:
ulonglong-scalar-rep
rep-size
drop
8
;
USING:
cpu.architecture
kernel
;
M:
ushort-scalar-rep
rep-size
drop
2
;
USING:
cpu.architecture
kernel
;
M:
vector-rep
rep-size
drop
16
;