#17786: Make RealBallField useful
-------------------------+-------------------------------------------------
Reporter: | Owner:
mmezzarobba | Status: new
Type: | Milestone: sage-6.5
enhancement | Resolution:
Priority: major | Merged in:
Component: basic | Reviewers:
arithmetic | Work issues:
Keywords: | Commit:
Authors: | 21bee7d9121ad93cf16c83a579e0b72e8b094c8f
Report Upstream: N/A | Stopgaps:
Branch: |
u/mmezzarobba/arb |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by mmezzarobba):
Replying to [comment:3 cheuberg]:
> Two remarks:
>
> - Shouldn't we use `bint` for those C functions returning an integer
which is meant as a boolean? In that case, `bool` could be omitted in the
Python methods.
Yes, indeed, thanks. I just copied the C prototypes without thinking...
> - Should we really expose a function `is_nonzero`? We have to implement
``__nonzero__`` anyway.
`RIF` intervals implement `__nonzero__` with the meaning of "not exactly
zero". So I think we need both if we want to stay compatible with them.
But then I'm not sure doing things that way in `RIF` was the wisest choice
in the first place...
--
Ticket URL: <http://trac.sagemath.org/ticket/17786#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.