Welcome to the CHICKEN Scheme pasting service

fixnum test added by curium on Mon Feb 21 12:47:08 2022

(import scheme
        (chicken base)
        (chicken fixnum)
        (chicken type))

(: ->u32 (fixnum -> fixnum))
(define (->u32 n)
  (fxand #e#xFFFFFFFF n))

(print (->u32 123))

;; csc -fixnum-arithmetic -o main main.scm
;; Error: cannot coerce inexact literal `4294967295' to fixnum

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What is the operator to construct pairs?
Visually impaired? Let me spell it for you (wav file) download WAV