Welcome to the CHICKEN Scheme pasting service

c64vector / c128vector bug added by jcroisant on Mon Oct 6 01:07:07 2025

;; With CHICKEN 6 (commit 9d2dc48f52afa26f77a20c849377a831504767df)

(import (chicken number-vector))

(define c64v (c64vector 1+2i 3+4i 5+6i))
(print c64v)
;; #c64(1.0+2.0i 1.0+2.0i 2.0+3.0i)
(print (c64vector-ref c64v 0))
;; 1.0+2.0i
(print (c64vector-ref c64v 1))
;; 1.0+2.0i
(print (c64vector-ref c64v 2))
;; 2.0+3.0i

(define c128v (c128vector 1+2i 3+4i 5+6i))
(print c128v)
;; #c128(1.0+2.0i 1.0+2.0i 2.0+3.0i)
(print (c128vector-ref c128v 0))
;; 1.0+2.0i
(print (c128vector-ref c128v 1))
;; 1.0+2.0i
(print (c128vector-ref c128v 2))
;; 2.0+3.0i

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the Makefile target to generate the bootstrap compiler of CHICKEN?
Visually impaired? Let me spell it for you (wav file) download WAV