commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent Worden" <br...@worden.org>
Subject Re: [math] fraction class
Date Fri, 04 Mar 2005 15:31:51 GMT
Phil,

I knew my implementations were not the most performant so, feel free to make 
any improvements you deem worthy.

Brent Worden

"Phil Steitz" <phil@steitz.com> wrote in message 
news:42226C1C.3010202@steitz.com...
> Brent,
>
> Sorry for the latency.  I like the API (and "rational number" vs. 
> "fraction" definition), but the numerics (minimizing overflows, speed) 
> could be improved by following the Knuth 4.5.1 algorithms for arithmetic 
> operations and gcd as described in C. Scott Ananian's patch to the old 
> [lang] implementation here:
> <http://issues.apache.org/bugzilla/show_bug.cgi?id=29294>, which I applied 
> to the [lang] version.
>
> I will get to this prior to 1.1 if I hear no objections and no one beats 
> me to it.
>
> Phil
>
> Brent Worden wrote:
>> I just committed a fraction class based on the one found in commons-lang.
>> Please provide any feedback regarding its correctness, completeness, etc.
>>
>> Thanks,
>>
>> Brent 
>> Worden ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>> 




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message