Serhiy Storchaka added the comment:

>-      x = x * 2 - 1
>-      hypot2 = x * x + y * y

Why you remove this?

>-      c = (a+b) * (a-b)
>+      c = a+b * a-b

This changes the semantic.

>but otoh 'x*2 - 1' is a better alternative.

Can you justify this?

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16239>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to