[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] [AxiomContributions] Enhanced Fraction domain
From: |
unknown |
Subject: |
[Axiom-developer] [AxiomContributions] Enhanced Fraction domain |
Date: |
Fri, 25 Mar 2005 12:01:45 -0600 |
Changes http://page.axiom-developer.org/zope/mathaction/AxiomContributions/diff
--
Here is a serie of patch to enhance computation that involves fraction integer.
Do
<pre>
download gcl source, decompress this archive apply gcl.patch (this patch come
from gcl-2.6.5 but can probably be applied on 2.6.6).
recompress gcl, copy it to zips directory (keep the same name)
remove gcldir and gcl-2.6.* in lsp directory
patch the interpreter with interp.patch. (change behavior of coercion of
fraction(integer))
patch fraction.spad.pamphlet (handle fraction(integer) as integer i.e by gcl)
remove mnt/linux/algebra/FRAC.o, int/algebra/FRAC.NRLIB/code.o and
int/algebra/FRAC.spad
type make
remove mnt/linux/algebra/FRAC.o, int/algebra/FRAC.NRLIB/code.o and
int/algebra/FRAC.spad
type touch src/algebra/fraction.spad.pamphlet or open it in an editor and
resave it
type make
Have fun
</pre>
This involve one patch (gcl.patch) backported from gcl-2.7.0-cvs. It 's a
request made for use algorithm from libgmp in cancellation of
gcd in fraction.
Copying of this patch is GNU LIBRARY GENERAL PUBLIC LICENSE Version 2,
June 1991
--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Axiom-developer] [AxiomContributions] Enhanced Fraction domain,
unknown <=