Message31481
May I beg for reconsideration.
Is the following really considered acceptable?
>>> x = -0.; atan2(0., -1)
-3.1415926535897931
>>> x = -(0.); atan2(0., -1)
3.1415926535897931
>>> atan2(0., -1)
3.1415926535897931
A single x = -0. at the start of a script can have
side effects several hundred lines later, even when
the variable x is never referred to again. I guess
the advice should be: "To avoid surprises, -0. should
never appear in any script." |
|
Date |
User |
Action |
Args |
2007-08-23 14:52:24 | admin | link | issue1678380 messages |
2007-08-23 14:52:24 | admin | create | |
|