[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introduction of fractions exposes uniform vector prototype bug
From: |
Kevin Ryde |
Subject: |
Re: Introduction of fractions exposes uniform vector prototype bug |
Date: |
Sun, 11 Jan 2004 09:02:40 +1000 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
Marius Vollmer <address@hidden> writes:
>
> Yes, excellent. Please apply.
I think I'll make array-fill! convert with num2dbl, like I mentioned,
which would mean the calls to scm_array_fill_x don't change.
It occurred to me there's also a question about what array-prototype
should return.
A fraction 1/3 would match the manual, and be good for anyone testing
(= 1/3 (array-prototype a)).
A flonum is of course what it returned in 1.6, but I'm thinking that
keeping "= 1/3" working is more important.