[r6rs-discuss] [Formal] Allow real->single and real->double to convert complex numbers

From: Carl Eastlund <cce>
Date: Wed Nov 15 12:53:48 2006

On 11/14/06, Alan Watson <alan_at_alan-watson.org> wrote:
> The "real->single" and "real->double" procedures are restricted to real
> numbers. Why not rename them "->single" and "->double" and allow them to
> operate on complex numbers too?

If this change goes through, I would prefer "number->single" and
"number->double", which are more precise names for the comment's
intent.

-- 
Carl Eastlund
Received on Wed Nov 15 2006 - 12:53:25 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC