|
From: | tantalum |
Subject: | bytevector-copy creates srfi-4 vector with greater length |
Date: | Sun, 26 Oct 2014 15:49:26 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
with guile version 2.1.0.89-c5ea7 on an x86_64 GNU/Linux system and the following code (use-modules (srfi srfi-4) (rnrs bytevectors)) (define a (make-f32vector 2 0)) (define b (bytevector-copy a)) (write (list a b)) "b" turns out to be an f32vector with length 8, 4 times the length of "a". i expected the result to have the same length as the argument and this looks like a bug to me
[Prev in Thread] | Current Thread | [Next in Thread] |