Source

pypy / pypy / objspace / std / complexobject.py

Author Commit Message Labels Comments Date
Armin Rigo
(fijal around, arigo) - fix c_pow() to return (nan+nanj) instead of raising an RPython ValueError in some cases - reuse the logic from pypy.rlib.rcomplex from complexobject.py
Branches
numpypy-complex2
mattip
revert attempt to fix, test issue1275 - test was bogus
Branches
numpypy-complex2
mattip
add failing test for pow ( ** ) for interpreter, start to fix for interpreter, rcomplex, and numpypy disallow arctan2 for complex
Branches
numpypy-complex2
Christian Tismer
Merge with default
Branches
win64-stage1
Maciej Fijalkowski
fix hashing of complex object
Christian Tismer
Merge with default (6 weeks)
Branches
win64-stage1
Christian Tismer
Merge with default
Branches
win64-stage1
Armin Rigo
Special-case for "complex ** 2" too.
Armin Rigo
issue963 resolved Similarly to not calling compute_unique_id() on the immutable objects, we should avoid calling compute_identity_hash() on them. Test and fix.
Christian Tismer
merge defauli
Branches
win64-stage1
Armin Rigo
Rename the method 'id' to 'unique_id', which is less prone to random conflicts with subclasses (e.g. ast.Name has an attribute called 'id').
Christian Tismer
Backed out changeset: 0bb2bc25fcfc
Branches
win64-stage1
Christian Tismer
Backed out changeset: b78a605fb452
Branches
win64-stage1
Armin Rigo
(cfbolz, arigo) An equivalent refactoring for id(). Also fixes an extremely obscure failure.
Armin Rigo
(cfbolz, arigo) Un- and re-hack the implementation of space.is_w(). This version might be faster.
Amaury Forgeot d'Arc
Move float/double related code from rarithmetic.py to rfloat.py
Branches
move-rfloat
Armin Rigo
Change the definition of "_immutable_ = True" to be explicitly required on all subclasses when we put it on a class. Previously, we got this effect implicitly. However, it made an obscure bug that took me three days to locate: app-level subclasses of the immutable built-in types, like 'long', have their fields flagged as immutable too, including the 'storage' from the mapdict, which is nonsense.
Armin Rigo
(Kevin Burke, a bit of arigo) Implement complex.__format__().
Armin Rigo
Throw DeprecationWarnings when using complex divmod(), // or %.
Maciej Fijalkowski
(peterd) Patch for complexobject
Amaury Forgeot d'Arc
Don't rely on automatic long->complex delegation for comparisons. Instead, use the comparison between long and float, which does the right thing when the long is too large to be converted to a float.
Dan Villiom Podlaski Christiansen
No-op merge to register the merge done in 0e3099e3cc33 with Mercurial.
Branches
fast-forward
Amaury Forgeot d'Arc
Merge from trunk: svn merge -r79849:80002 ../trunk
Branches
fast-forward
Amaury Forgeot d'Arc
Refactor formatd() to not take a printf-like format, but several arguments instead. This prepares for the inclusion of the dtoa functions.
Branches
fast-forward
Hakan Ardo
svn merge -r79225:HEAD svn+ssh://hakanardo@codespeak.net/svn/pypy/trunk
Branches
jit-unroll-loops
Amaury Forgeot d'Arc
Some fixes to translate with cpython2.5 (or pypy-1.4!) - use the rarithmetic.copysign(), which has a fall-back implementation - don't use the global builtin "format()", it confuses geninterp.
Branches
fast-forward
Amaury Forgeot d'Arc
Remove debug print. Thanks Alex!
Branches
fast-forward
Amaury Forgeot d'Arc
Be more careful to preserve the sign of zero when building a complex. Also fix the repr() to display the sign of zero in both components.
Branches
fast-forward
Alex Gaynor
Don't let an RPython exception escape from abs(complex).
Branches
fast-forward
Maciej Fijalkowski
A test and a fix for complex repr
  1. Prev
  2. 1
  3. 2
  4. Next