chickadee » foreign » types » unsigned-integer64

integer64type
unsigned-integer64type

A fixnum or integral flonum, mapping to int64_t or uint64_t. When outside of fixnum range the value will overflow into a flonum.

On a 32-bit system, the effective precision of this type is 52 bits plus the sign bit, as it is stored in a double flonum. (In other words, numbers between 2^52 and 2^64-1 can be represented but there are gaps in the sequence; the same goes for their negative counterparts.) On a 64-bit system the range is 62 bits plus the sign bit, the maximum range of a fixnum. (Numbers between 2^62 and 2^64-1 have gaps.)

unsigned-integer64 is not valid as a return type until CHICKEN 4.6.4.