[Top][All Lists]

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

real-part frac

From: Kevin Ryde
Subject: real-part frac
Date: Sat, 22 Nov 2003 06:56:09 +1000
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Is there a reason for real-part to return a flonum when given a
fraction?  Eg. (real-part 1/2) => 0.5.

With exact fractions I might have expected to get back the fraction
unchanged, the same way an exact integer is returned unchanged.

Attachment: numbers.c.real-frac.diff
Description: Text document

reply via email to

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