[Top][All Lists]

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

Re: ratio implementation

From: Marius Vollmer
Subject: Re: ratio implementation
Date: Tue, 07 Oct 2003 17:26:18 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Dirk Herrmann <address@hidden> writes:

> When introducing exact rationals, which are represented internally
> as a pair of two exact integer values, we should not name them
> rationals, but, for example, fractions.
> The reason I mention this is that I want to avoid a macro
> SCM_RATIONAL_P to be introduced: The meaning of such a macro would not
> be clear, since it might either be expected to return the equivalent
> of rational? or just return true if an object was detected with an
> internal representation of a fraction.

Yes, very good point.  Bill, please name your data type "fraction".

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

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