oldk1331 wrote:
> I found that documentation for "precision()" is vague:
> 
> In sf.spad:
>    precision : () -> PositiveInteger
>       ++ precision() returns the precision in digits base.
> 
>       precision : PositiveInteger -> PositiveInteger
>         ++ precision(n) set the precision in the base to n decimal digits.

Hmm, it is pretty clear: 'precision' uses actual base whatever
it is.  'bits' measures in bits and 'digits' meausres in
decimal digits.
 
> It seems that Common Lisp standard doesn't specify float format,
> float can be binary represented, or "as on the IBM 360 and 370,
> which use radix 16".
> 
> So I doubt the usefulness of currying such flexiablity in FriCAS,
> I suggest remove "precision", and use bits() instead.

Well, current code make some effort to support any base.  And
it is more than 'precision'.  I would not write new code in
such way.  But what is there is non-intrusive and IMHO any
effort to remove it is misplaced.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to