Jeong YunWon
|
dc8057a1c2
|
Refactor snippets/testutil
|
2019-09-17 17:37:24 +09:00 |
|
Dong-hee Na
|
4ea960c67b
|
complex: Implement __getnewargs__
|
2019-08-15 15:34:07 +09:00 |
|
Dong-hee Na
|
d349d254f6
|
complex: Fix hash function to work correctly
Currently, hash(3.1-4.2j) or hash(3.1+4.2j) is crashed due to
overflow error on RustPython.
This patch will fix this issue.
|
2019-07-10 09:21:19 +09:00 |
|
Dong-hee Na
|
b1aa10d03e
|
Fix complex representation for negative imaginary number case.
|
2019-06-29 16:30:34 +09:00 |
|
Jeong YunWon
|
87fc4cc470
|
Add complex.__hash__
|
2019-05-16 06:21:33 +09:00 |
|
Jeong YunWon
|
88e64adc56
|
Add complex __pow__ and __rpow__
|
2019-05-04 01:05:27 +09:00 |
|
Jeong YunWon
|
930c8eef50
|
Add complex.{__mod__, __rmod__, __divmod__, __rdivmod__}
|
2019-05-04 01:05:27 +09:00 |
|
Jeong YunWon
|
9523baf5ac
|
complex [r]truediv, [r]floordiv
|
2019-05-04 01:05:27 +09:00 |
|
Jeong YunWon
|
7c8880fb4a
|
complex overflow message test
|
2019-05-04 01:05:27 +09:00 |
|
Jeong YunWon
|
2a2d0e4764
|
Add complex.__rmul__
|
2019-05-04 01:05:27 +09:00 |
|
Jeong YunWon
|
61de5f2efc
|
complex.__eq__ using try_float
|
2019-05-04 01:05:27 +09:00 |
|
Nicolas Trinquier
|
eebdbfe679
|
Add int and float methods for the complex type
|
2019-04-29 18:39:10 +02:00 |
|
Nicolas Trinquier
|
f8373aa38a
|
Add mul method for the complex type
|
2019-04-29 18:34:35 +02:00 |
|
Jeong YunWon
|
dc05459459
|
Add float.__sub__, float.__rsub__
|
2019-04-28 12:20:45 +09:00 |
|
Jeong YunWon
|
a2625916f5
|
Fix complex.__add__ to support float
|
2019-04-28 12:01:54 +09:00 |
|
Jeong YunWon
|
2eae737f3d
|
complex.__add__ can raises OverflowError
|
2019-04-28 06:52:54 +09:00 |
|
Jeong YunWon
|
15e4e678ca
|
Add complex.__bool__
|
2019-04-28 06:19:12 +09:00 |
|
Adam Gutglick
|
f333c75fd6
|
Added the ability to do addition between complex numbers and ints.
|
2019-02-22 08:42:44 -05:00 |
|
Adam Gutglick
|
38b4c10833
|
Added the ability to do addition between complex numbers and ints.
|
2019-02-21 19:28:46 -05:00 |
|
janczer
|
2a2ddff14e
|
Add complex methods real and imag
|
2019-02-14 16:56:32 +01:00 |
|
Joey Hain
|
a510aed86a
|
Tests and fix objobject ne impl
|
2019-02-10 10:13:30 -08:00 |
|
Joey Hain
|
d3d73bdc22
|
Disable broken test for now
|
2019-02-09 10:24:17 -08:00 |
|
Joey Hain
|
09dc751869
|
Avoid using magic methods in tests where possible
|
2019-02-09 08:09:48 -08:00 |
|
Joey Hain
|
520f71f354
|
Add NotImplemented built-in constant
|
2019-02-08 19:24:08 -08:00 |
|
Joey Hain
|
d66ca54a2d
|
Add complex.{__eq__, __neg__}
|
2019-02-08 18:20:58 -08:00 |
|
Joey Hain
|
fc863aaba5
|
Add complex.__abs__
|
2019-02-08 18:20:55 -08:00 |
|