>>> complex('inf')**1j Traceback (most recent call last): File "<python-input-0>", line 1, in <module> complex('inf')**1j ~~~~~~~~~~~~~~^^~~ ZeroDivisionError: zero to a negative or complex power Product Launch Invite The base is not zero. The result should be nan+nanj, as in the GNU MPC. Completely Free Printable Business Cards
Consumer Blog Post _Py_c_pow() computes an infinite phase here, and cos() and sin() of an infinite argument are domain errors, so libm sets errno to EDOM. complex_pow() translates any EDOM to ZeroDivisionError, as it cannot distinguish it from the EDOM set for a zero base. Product Launch Design
Blog Publish Web Page Any finite base for which the phase overflows is affected too: Free Blank Newspaper Front Page Template
>>> complex(1e300)**complex(0, 1e308) ZeroDivisionError: zero to a negative or complex power >>> complex(2)**complex(0, float('inf')) ZeroDivisionError: zero to a negative or complex power How To Delete Search History From Facebook sin() and cos() set errno only for infinite arguments, so it is enough to discard errno in _Py_c_pow() after computing the result: _Py_ADJUST_ERANGE2() recovers ERANGE from the result itself. Save The Date Flyer Template
Minimum Viable Product Example Template Noticed by Dell Product Launch Event PPT in How To Post On Facebook To Promote Your Product. Launch Email Template
Blog Publish Web Page How To Add A Post In LinkedIn
Product Launch Invite The base is not zero. The result should be
nan+nanj, as in the GNU MPC. Completely Free Printable Business CardsConsumer Blog Post
_Py_c_pow()computes an infinitephasehere, andcos()andsin()of an infinite argument are domain errors, so libm setserrnotoEDOM.complex_pow()translates anyEDOMtoZeroDivisionError, as it cannot distinguish it from theEDOMset for a zero base. Product Launch DesignBlog Publish Web Page Any finite base for which the phase overflows is affected too: Free Blank Newspaper Front Page Template
How To Delete Search History From Facebook
sin()andcos()seterrnoonly for infinite arguments, so it is enough to discarderrnoin_Py_c_pow()after computing the result:_Py_ADJUST_ERANGE2()recoversERANGEfrom the result itself. Save The Date Flyer TemplateMinimum Viable Product Example Template Noticed by Dell Product Launch Event PPT in How To Post On Facebook To Promote Your Product. Launch Email Template
Blog Publish Web Page How To Add A Post In LinkedIn