Commits

Author Commit Message Labels Comments Date
Mark Dickinson
Add mpfr_inits2, mpfr_clears and mpfr_inits functions.
Mark Dickinson
Add initialization checks to all bigfloat.mpfr functions. It should now be much harder to cause a segfault from the mpfr module.
Mark Dickinson
Wrap mpfr_init, mpfr_get_default_prec, mpfr_set_default_prec.
Mark Dickinson
Add new mpfr_initialized_p function. Add checks for initialization status in mpfr_init2 and mpfr_clear.
Mark Dickinson
Add docstrings for mpfr_init2 and mpfr_clear.
Mark Dickinson
Fix up some mpfr docstrings and comments.
Mark Dickinson
Remvove mpfr.Mpfr function. Add tests for mpfr_init2 and mpfr_clear.
Mark Dickinson
Add license, copyright notice to ieee.py module.
Mark Dickinson
Export 'rounding' function.
Mark Dickinson
Move IEEEContext and specific IEEE contexts to a new bigfloat.ieee module.
Mark Dickinson
Extra tests for equality and inequality.
Mark Dickinson
Make != work correctly on Context instances.
Mark Dickinson
Add 'rounding' function to bigfloat.context module.
Mark Dickinson
Remove unused module-level variable in context.py.
Mark Dickinson
Use same pattern for dealing with a context of 'None' throughout.
Mark Dickinson
Remove 'with' boilerplate from standard functions.
Mark Dickinson
Close retyping-experiment branch.
Branches
retyping-experiment
Mark Dickinson
Merge retyping-experiment branch into default; BigFloat now inherits from Mpfr_t.
Mark Dickinson
Remove need for getcontext in core.py.
Branches
retyping-experiment
Mark Dickinson
Remove last use of _from_Mpfr.
Branches
retyping-experiment
Mark Dickinson
Remove uses of _from_Mpfr (except for one use in a testing function)
Branches
retyping-experiment
Mark Dickinson
Rewrite next_up, next_down to use the new BigFloat.copy method.
Branches
retyping-experiment
Mark Dickinson
Add 'copy' method to BigFloat class.
Branches
retyping-experiment
Mark Dickinson
Remove extra layer of wrapping in uses of _apply_function_to_context; _apply_function_to_context now returns an object of given type 'cls', assuming that cls is a subclass of Mpfr_t.
Branches
retyping-experiment
Mark Dickinson
Have BigFloat inherit from mpfr.Mpfr_t; store its value directly instead of in a _value attribute.
Branches
retyping-experiment
Mark Dickinson
Wrap mpfr_init2 and mpfr_clear; these functions need tests and documentation.
Branches
retyping-experiment
Mark Dickinson
merge from default
Branches
retyping-experiment
Mark Dickinson
Fixing some imports; remove __all__ from bigfloat.core; add some items to bigfloat.__all__.
Mark Dickinson
(Experimental): remove initialization from the basic type Mpfr (now renamed to Mpfr_t); make Mpfr into a factory function that does initialization. This paves the way for having BigFloat inherit from Mpfr_t.
Branches
retyping-experiment
Mark Dickinson
Factor out common logic to decode an int representing a pair of ternary values.
  1. Prev
  2. Next