3.2 Numeric Types
_int8 : ctype? |
_sint8 : ctype? |
_uint8 : ctype? |
_int16 : ctype? |
_sint16 : ctype? |
_uint16 : ctype? |
_int32 : ctype? |
_sint32 : ctype? |
_uint32 : ctype? |
_int64 : ctype? |
_sint64 : ctype? |
_uint64 : ctype? |
The basic integer types at various sizes. The s or u prefix specifies a signed or an unsigned integer, respectively; the ones with no prefix are signed.
_byte : ctype? |
_sbyte : ctype? |
_ubyte : ctype? |
_short : ctype? |
_sshort : ctype? |
_ushort : ctype? |
_int : ctype? |
_sint : ctype? |
_uint : ctype? |
_word : ctype? |
_sword : ctype? |
_uword : ctype? |
_long : ctype? |
_slong : ctype? |
_ulong : ctype? |
Aliases for basic integer types. The _byte aliases correspond to _int8. The _short and _word aliases correspond to _int16. The _int aliases correspond to _int32. The _long aliases correspond to either _int32 or _int64, depending on the platform.
_fixnum : ctype? |
_ufixnum : ctype? |
For cases where speed matters and where you know that the integer is small enough, the types _fixnum and _ufixnum are similar to _long and _ulong but assume that the quantities fit in PLT Scheme’s immediate integers (i.e., not bignums).
_fixint : ctype? |
_ufixint : ctype? |
Like _fixnum and _ufixnum, but coercions from C are checked to be in range.
_float : ctype? |
_double : ctype? |
_double* : ctype? |
The _float and _double types represent the corresponding C types. The type _double* that implicitly coerces any real number to a C double.