I'd like to remove the following signatures.
One could argue that **$Float and **$DFLOAT should stay, because there
docstring gives a little extra information. (i.e., explains that (-5.0)^(3.0)
will not work)
However, I think that this should be clear given the philosophy of FriCAS.
The compiler bug mentioned in FS seems to be gone. I compiled from scratch
with ecl, and there were no regressions.
So, please vote
A) commit
B) **$DFLOAT and **Float should stay, commit rest
C) don't commit (if so, you need good reason :-)
I plan to remove more signatures as I go along. I find that the huge output of
)di op, and also in HyperDoc is very confusing and I found the little extra
information given - if at all - so far never helpful.
Martin
Index: src/algebra/float.spad.pamphlet
===================================================================
--- src/algebra/float.spad.pamphlet (revision 440)
+++ src/algebra/float.spad.pamphlet (working copy)
@@ -124,8 +124,6 @@
ConvertibleTo InputForm, arbitraryPrecision, arbitraryExponent) with
_/ : (%, I) -> %
++ x / i computes the division from x by an integer i.
- _*_*: (%, %) -> %
- ++ x ** y computes \spad{exp(y log x)} where \spad{x >= 0}.
normalize: % -> %
++ normalize(x) normalizes x at current precision.
relerror : (%, %) -> I
Index: src/algebra/fspace.spad.pamphlet
===================================================================
--- src/algebra/fspace.spad.pamphlet (revision 440)
+++ src/algebra/fspace.spad.pamphlet (working copy)
@@ -434,9 +434,6 @@
++ with \spad{y} replaced by \spad{a} for any \spad{a}.
if R has SemiGroup then
Monoid
- -- the following line is necessary because of a compiler bug
- "**" : (%, N) -> %
- ++ x**n returns x * x * x * ... * x (n times).
isTimes: % -> Union(List %, "failed")
++ isTimes(p) returns \spad{[a1,...,an]}
++ if \spad{p = a1*...*an} and \spad{n > 1}.
Index: src/algebra/sf.spad.pamphlet
===================================================================
--- src/algebra/sf.spad.pamphlet (revision 440)
+++ src/algebra/sf.spad.pamphlet (working copy)
@@ -394,8 +394,6 @@
ConvertibleTo InputForm) with
_/ : (%, Integer) -> %
++ x / i computes the division from x by an integer i.
- _*_* : (%,%) -> %
- ++ x ** y returns the yth power of x (equal to \spad{exp(y log x)}).
exp1 : () -> %
++ exp1() returns the natural log base \spad{2.718281828...}.
hash : % -> Integer
@@ -406,10 +404,6 @@
++ log10(x) computes the logarithm with base 10 for x.
atan : (%,%) -> %
++ atan(x,y) computes the arc tangent from x with phase y.
- Gamma: % -> %
- ++ Gamma(x) is the Euler Gamma function.
- Beta : (%,%) -> %
- ++ Beta(x,y) is \spad{Gamma(x) * Gamma(y)/Gamma(x+y)}.
doubleFloatFormat : String -> String
++ change the output format for doublefloats using lisp format strings
rationalApproximation: (%, NonNegativeInteger) -> Fraction Integer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---