<div dir="ltr">Hi all,  Just thought I&#39;d share, mostly.<div><br></div><div>I&#39;m working on a little project to build vsdx files, and one part of it talks about pulling in the right angle, and was somewhat cryptic &quot;use the ATAN2(Y,X)&quot;. So, I looked it up, then went hunting in Squeak to see where it was.</div><div><br></div><div>It turns out it it is the arcTan: function.  And after some emperical experimenting, teh X and Y map out to:</div><div><br></div><div>ATAN2(y,x) = y arcTan: x</div><div><br></div><div>So, found what I need.</div><div><br></div><div>That said, the documentation in the various methods are interesting:</div><div><br></div><div>Number&gt;&gt;arcTan: denominator</div><div><span class="" style="white-space:pre">        </span>&quot;The receiver is the tangent of an angle. Answer the angle measured in <span class="" style="white-space:pre">        </span>radians.&quot;</div><div>[this is the same defintions as Number&gt;&gt;arcTan, which is a slightly different beast]</div><div><br></div><div>Float&gt;&gt;arcTan: denominator</div><div><span class="" style="white-space:pre">        </span>&quot;Answer the angle in radians.</div><div><span class="" style="white-space:pre">        </span> Optional. See Object documentation whatIsAPrimitive.</div><div><span class="" style="white-space:pre">        </span>Implementation note: use sign in order to catch cases of negativeZero&quot;</div><div>[as far as I can tell, Float&gt;&gt;arcTan: is NOT a primitive]<br></div><div><br></div><div>Complex&gt;&gt;arcTan: denominator </div><div><span class="" style="white-space:pre">        </span>&quot;Answer the  four quadrants arc tangent of receiver over denominator.&quot;</div><div><br></div><div>Probably combining these comments into a more comprehensive whole would give better insight into what the methods mean.  If desired, I&#39;d be up for that.</div><div><br></div><div>Thanks,</div><div>cbc</div></div>