Next: words sign, Previous: words sizeof, Up: words [Index]
The following bindings are exported by the (vicare platform words)
library.
Return #t
if obj is a fixnum or bignum, that is an exact
integer; else return #f
.
On 32-bit platforms: return #t
if obj is a fixnum or bignum
in the 32-bit range; on 64-bit platforms: return #t
if obj is
a fixnum or bignum in the 64-bit range; else return #f
.
Return #t
if obj is a signed or unsigned fixnum in the 8-bit
range; else return #f
.
Return #t
if obj is a signed or unsigned fixnum in the 16-bit
range; else return #f
.
Return #t
if obj is a signed or unsigned fixnum or bignum in
the 32-bit range; else return #f
.
Return #t
if obj is a signed or unsigned fixnum or bignum in
the 64-bit range; else return #f
.
Return #t
if obj is a signed or unsigned fixnum or bignum in
the 128-bit range; else return #f
.
Return #t
if obj is a signed or unsigned fixnum or bignum in
the 256-bit range; else return #f
.
Return #t
if obj is a fixnum in the range representable with
a platform C language type signed char
or unsigned char
.
Return #t
if obj is a fixnum or bignum in the range
representable with a platform C language type signed short int
or
unsigned short int
.
Return #t
if obj is a fixnum or bignum in the range
representable with a platform C language type signed int
or
unsigned int
.
Return #t
if obj is a fixnum or bignum in the range
representable with a platform C language type signed long int
or
unsigned long int
.
Return #t
if obj is a fixnum or bignum in the range
representable with a platform C language type signed long long
int
or unsigned long long int
.
Return #t
if obj is a fixnum or bignum in the range
representable with a platform C language type void *
.
Return #t
if obj is a fixnum or bignum in the range
representable with a platform C language type size_t
or
ssize_t
as defined by stddef.h.
Return #t
if obj is a fixnum or bignum in the range
representable with a platform C language type off_t
as defined by
stdio.h.
Return #t
if obj is a fixnum or bignum in the range
representable with a platform C language type ptrdiff_t
as
defined by stddef.h.
The following predicates are meant to be used to validate indices in bytevectors.
Unsafe syntax: N must be a fixnum. Evaluate to #t
if N is a fixnum multiple of 2; else evaluate to #f
.
Unsafe syntax: N must be a fixnum. Evaluate to #t
if N is a fixnum multiple of 4; else evaluate to #f
.
Unsafe syntax: N must be a fixnum. Evaluate to #t
if N is a fixnum multiple of 8; else evaluate to #f
.
Unsafe syntax: N and alignment must be fixnums.
Evaluate to #t
if N is a fixnum multiple of alignment;
else evaluate to #f
.
Next: words sign, Previous: words sizeof, Up: words [Index]