[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New division operators, and optimization for fractions
From: |
Ken Raeburn |
Subject: |
Re: [PATCH] New division operators, and optimization for fractions |
Date: |
Mon, 14 Feb 2011 08:56:47 -0500 |
On Feb 12, 2011, at 06:55, Andy Wingo wrote:
> Regarding multiple values: instead of unpacking values objects (ugh),
> can you instead make versions of _divide that return two values
> directly, as output arguments?
Or maybe a function returning a struct of two SCM fields (or a single
array-of-2 field)? Granted, it doesn't extend as nicely to gsubrs returning
arbitrary numbers of values, since you need a struct type per number-of-values,
but it sounds like two is all that's needed here.
Ken