[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LilyPond and Guile rationals?
From: |
Han-Wen Nienhuys |
Subject: |
Re: LilyPond and Guile rationals? |
Date: |
Wed, 25 Jul 2012 13:04:23 -0700 |
On Wed, Jul 25, 2012 at 6:31 AM, David Kastrup <address@hidden> wrote:
>
> Hi,
>
> I am getting increasingly annoyed at the abuse of pairs and Moment for
> denoting rational numbers, and the Rational C++ type has no interfaces
> of its own to Scheme.
>
> Does LilyPond have a history where Guile did not support rational
> numbers?
Yes. Rational numbers in GUILE are a "recent" addition, IIRC think
from GUILE 1.8.
> I am currently trying to do some cleanup in the area of rational number
> "interfaces" (there have been a few issues in the past week), and there
> is actually quite a bit of actually non-working code due to trying to
> manually simulate rational arithmetic and getting it wrong.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen