On Dec 23, 2:45 pm, Mark Dickinson <dicki...@gmail.com> wrote:
> On Dec 23, 4:27 pm, ajaksu <aja...@gmail.com> wrote:
>
> > Is "x ** 0 > 0." instead of "atan2(x, -1.) > 0." unreliable across
> > platforms?
>
> x**0 doesn't distinguish between x = -0.0 and x = 0.0.
>
> I suspect you're confusing -0.0**0.0 with (-0.0)**0.0.
Yes, fooled me :)

Thanks for the heads-up!

Daniel
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to