Print the word size and endianness of the host machine.

See also: Variable size/Get

 
#lang racket/base
 
(printf "Word size: ~a\n" (system-type 'word))
(printf "Endianness: ~a\n" (if (system-big-endian?) 'big 'little))
 