guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: min, max one complex arg


From: Mikael Djurfeldt
Subject: Re: min, max one complex arg
Date: Mon, 16 Feb 2004 11:20:56 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> I noticed min and max on a single complex number argument return it
> unchanged, (min 1+i) => 1+i, but for two complex args it dispatches to
> the g_min/g_max generics.
>
> Should it dispatch for the one arg case too, so as to confine the
> builtin code to int/big/frac/real?

Yes.  It's strange to have (min "+i") but not (min +i) dispatch...

M




reply via email to

[Prev in Thread] Current Thread [Next in Thread]