Hacker News new | ask | show | jobs
by satya71 1040 days ago
Hmm. Python 3.11 (didn't test in earlier)

>>> from math import atan, exp

>>> exp(atan(1)*-2)

0.20787957635076193

>>> 1j**1j

(0.20787957635076193+0j)

1 comments

thank you. i tested this on lc playground and yeah it does work.