Next: , Previous: , Up: words   [Index]


3.5.4 Verifying the sign of integers

Starting with the specified version, the following bindings are exported by the (vicare platform words (0 4 2015 5 28)) library.

Function: positive-word-s8? obj
Function: negative-word-s8? obj
Function: non-positive-word-s8? obj
Function: non-negative-word-s8? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-word-s16? obj
Function: negative-word-s16? obj
Function: non-positive-word-s16? obj
Function: non-negative-word-s16? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-word-s32? obj
Function: negative-word-s32? obj
Function: non-positive-word-s32? obj
Function: non-negative-word-s32? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-word-s64? obj
Function: negative-word-s64? obj
Function: non-positive-word-s64? obj
Function: non-negative-word-s64? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-word-s128? obj
Function: negative-word-s128? obj
Function: non-positive-word-s128? obj
Function: non-negative-word-s128? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-word-s256? obj
Function: negative-word-s256? obj
Function: non-positive-word-s256? obj
Function: non-negative-word-s256? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-signed-char? obj
Function: negative-signed-char? obj
Function: non-positive-signed-char? obj
Function: non-negative-signed-char? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-signed-int? obj
Function: negative-signed-int? obj
Function: non-positive-signed-int? obj
Function: non-negative-signed-int? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-signed-long? obj
Function: negative-signed-long? obj
Function: non-positive-signed-long? obj
Function: non-negative-signed-long? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-signed-long-long? obj
Function: negative-signed-long-long? obj
Function: non-positive-signed-long-long? obj
Function: non-negative-signed-long-long? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-ssize_t? obj
Function: negative-ssize_t? obj
Function: non-positive-ssize_t? obj
Function: non-negative-ssize_t? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-off_t? obj
Function: negative-off_t? obj
Function: non-positive-off_t? obj
Function: non-negative-off_t? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.

Function: positive-ptrdiff_t? obj
Function: negative-ptrdiff_t? obj
Function: non-positive-ptrdiff_t? obj
Function: non-negative-ptrdiff_t? obj

Return #t if obj is an exact integer in the specified range with the specified sign; otherwise return #f.


Next: , Previous: , Up: words   [Index]