Author benlbroussard
Recipients benlbroussard
Date 2009-08-25.12:29:23
SpamBayes Score 0.0272775
Marked as misclassified No
Message-id <1251203365.27.0.467156127603.issue6781@psf.upfronthosting.co.za>
In-reply-to
Content
Negative one squared should be one, but is negative one sometimes.

pow(-1, 2) = 1
-1 ** 2 = -1
-1 ^ 2 = -1

The ** and ^ operators aren't working like expected, and the pow()
documentation is incorrect since it says "The two-argument form pow(x,
y) is equivalent to using the power operator: x**y."
History
Date User Action Args
2009-08-25 12:29:25benlbroussardsetrecipients: + benlbroussard
2009-08-25 12:29:25benlbroussardsetmessageid: <1251203365.27.0.467156127603.issue6781@psf.upfronthosting.co.za>
2009-08-25 12:29:23benlbroussardlinkissue6781 messages
2009-08-25 12:29:23benlbroussardcreate