Previous: , Up: words   [Index]


3.5.5 Exact integer range limits

The following bindings are exported by the (vicare platform words) library.

Inclusive limits

Syntax: greatest-u8
Syntax: greatest-s8
Syntax: least-u8
Syntax: least-s8

Evaluate to the greatest or least, signed or unsigned, exact integer in the 8-bit range.

Syntax: greatest-u16
Syntax: greatest-s16
Syntax: least-u16
Syntax: least-s16

Evaluate to the greatest or least, signed or unsigned, exact integer in the 16-bit range.

Syntax: greatest-u32
Syntax: greatest-s32
Syntax: least-u32
Syntax: least-s32

Evaluate to the greatest or least, signed or unsigned, exact integer in the 32-bit range.

Syntax: greatest-u64
Syntax: greatest-s64
Syntax: least-u64
Syntax: least-s64

Evaluate to the greatest or least, signed or unsigned, exact integer in the 64-bit range.

Syntax: greatest-s128
Syntax: greatest-u128
Syntax: least-u128
Syntax: least-s128

Evaluate to the greatest or least, signed or unsigned, exact integer in the 128-bit range.

Syntax: greatest-s256
Syntax: greatest-u256
Syntax: least-u256
Syntax: least-s256

Evaluate to the greatest or least, signed or unsigned, exact integer in the 256-bit range.

Syntax: greatest-machine-word
Syntax: least-machine-word

On 32-bit platforms: evaluate to the greatest or least unsigned exact integer in the 32-bit range.

On 64-bit platforms: evaluate to the greatest or least unsigned exact integer in the 64-bit range.

Syntax: greatest-c-unsigned-char
Syntax: greatest-c-signed-char
Syntax: least-c-unsigned-char
Syntax: least-c-signed-char

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language char range.

Syntax: greatest-c-unsigned-short
Syntax: greatest-c-signed-short
Syntax: least-c-unsigned-short
Syntax: least-c-signed-short

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language short int range.

Syntax: greatest-c-unsigned-int
Syntax: greatest-c-signed-int
Syntax: least-c-unsigned-int
Syntax: least-c-signed-int

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language int range.

Syntax: greatest-c-unsigned-long
Syntax: greatest-c-signed-long
Syntax: least-c-unsigned-long
Syntax: least-c-signed-long

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language long range.

Syntax: greatest-c-unsigned-long-long
Syntax: greatest-c-signed-long-long
Syntax: least-c-unsigned-long-long
Syntax: least-c-signed-long-long

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language long long range.

Syntax: greatest-c-pointer
Syntax: least-c-pointer

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language void * range.

Syntax: greatest-c-size_t
Syntax: least-c-size_t

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language size_t range.

Syntax: greatest-c-ssize_t
Syntax: least-c-ssize_t

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language ssize_t range.

Syntax: greatest-c-off_t
Syntax: least-c-off_t

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language off_t range.

Syntax: greatest-c-ptrdiff_t
Syntax: least-c-ptrdiff_t

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language ptrdiff_t range.

Exclusive limits

Syntax: greatest-u8*
Syntax: greatest-s8*
Syntax: least-u8*
Syntax: least-s8*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the 8-bit range.

Syntax: greatest-u16*
Syntax: greatest-s16*
Syntax: least-u16*
Syntax: least-s16*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the 16-bit range.

Syntax: greatest-u32*
Syntax: greatest-s32*
Syntax: least-u32*
Syntax: least-s32*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the 32-bit range.

Syntax: greatest-u64*
Syntax: greatest-s64*
Syntax: least-u64*
Syntax: least-s64*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the 64-bit range.

Syntax: greatest-s128*
Syntax: greatest-u128*
Syntax: least-u128*
Syntax: least-s128*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the 128-bit range.

Syntax: greatest-s256*
Syntax: greatest-u256*
Syntax: least-u256*
Syntax: least-s256*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the 256-bit range.

Syntax: greatest-machine-word*
Syntax: least-machine-word*

On 32-bit platforms: evaluate to the greatest–plus–1 or least–minus–1 unsigned exact integer in the 32-bit range.

On 64-bit platforms: evaluate to the greatest–plus–1 or least–minus–1 unsigned exact integer in the 64-bit range.

Syntax: greatest-c-unsigned-char*
Syntax: greatest-c-signed-char*
Syntax: least-c-unsigned-char*
Syntax: least-c-signed-char*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the C language char range.

Syntax: greatest-c-unsigned-short*
Syntax: greatest-c-signed-short*
Syntax: least-c-unsigned-short*
Syntax: least-c-signed-short*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the C language short int range.

Syntax: greatest-c-unsigned-int*
Syntax: greatest-c-signed-int*
Syntax: least-c-unsigned-int*
Syntax: least-c-signed-int*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the C language int range.

Syntax: greatest-c-unsigned-long*
Syntax: greatest-c-signed-long*
Syntax: least-c-unsigned-long*
Syntax: least-c-signed-long*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the C language long range.

Syntax: greatest-c-unsigned-long-long*
Syntax: greatest-c-signed-long-long*
Syntax: least-c-unsigned-long-long*
Syntax: least-c-signed-long-long*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the C language long long range.

Syntax: greatest-c-pointer*
Syntax: least-c-pointer*

Evaluate to the greatest–plus–1 or least–minus–1, signed or unsigned, exact integer in the C language void * range.

Syntax: greatest-c-size_t*
Syntax: least-c-size_t*

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language size_t* range.

Syntax: greatest-c-ssize_t*
Syntax: least-c-ssize_t*

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language ssize_t* range.

Syntax: greatest-c-off_t*
Syntax: least-c-off_t*

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language off_t range.

Syntax: greatest-c-ptrdiff_t*
Syntax: least-c-ptrdiff_t*

Evaluate to the greatest or least, signed or unsigned, exact integer in the C language ptrdiff_t range.


Previous: , Up: words   [Index]