9 Commits

Author SHA1 Message Date
rbanik30082002
cdc3247bf8 Fixed the formula error 2025-07-27 12:28:52 +05:30
blueloveTH
ec4ddc41fb ... 2024-08-13 12:57:40 +08:00
Anurag Bhat
883f4d9532
Add Division operation for complex number in Cmath (#220)
* Add __truediv__() for cmath

* Some changes

* Remove separate zero division case checks

* Test all binary operators

* Use is_close
2024-03-02 14:34:05 +08:00
blueloveTH
0599130c0d fix https://github.com/pocketpy/pocketpy/issues/211 2024-02-23 01:27:48 +08:00
blueloveTH
c79cd6dca6 ... 2024-01-02 00:36:23 +08:00
blueloveTH
9d9ec9a6d0 add __neg__ for complex 2024-01-02 00:24:22 +08:00
blueloveTH
889cf99695 ... 2023-12-30 20:58:52 +08:00
blueloveTH
f650f159b4 ... 2023-12-30 14:33:04 +08:00
blueloveTH
1e178caf6e add cmath module 2023-12-30 13:57:51 +08:00