GNU bug report logs - #18866
bytevector-copy creates srfi-4 vector with greater length

Previous Next

Package: guile;

Reported by: tantalum <sph <at> posteo.eu>

Date: Tue, 28 Oct 2014 07:15:07 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: tantalum <sph <at> posteo.eu>
To: bug-guile <at> gnu.org
Subject: bytevector-copy creates srfi-4 vector with greater length
Date: Mon, 27 Oct 2014 19:28:49 +0100
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

see also http://lists.gnu.org/archive/html/guile-devel/2014-10/msg00064.html




This bug report was last modified 10 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.