Results 1 to 15 of 307

Thread: Coder's Hang-out

Threaded View

  1. #11
    crusher's Avatar
    crusher is offline ↑ ↑ ↓ ↓ ← → ← → B A START
    Join Date
    Jun 2002
    Posts
    15,697
    Thanks
    3
    Thanked 22 Times in 17 Posts
    EP Points
    35

    Default

    Nope, not Arcus tangent. But it's based on that function.

    http://www.cplusplus.com/ref/cmath/atan2.html

    Language doesn't matter, as long as I can read the code.


    EDIT: Nevermind, I found out how atan2 is defined. If you are interested:

    function atan2 v,u
    if u=0 and v=0 then: not defined, but you might use 0 as answer
    if u=0 then
    if v > 0 then pi/2 else -pi/2
    if u > 0 then atan(v/u) --the normal atan function
    if u < 0 then
    if v >= 0 then atan(v/u) + pi else atan(v/u) - pi
    Last edited by crusher; 12th-January-2006 at 17:15.

Similar Threads

  1. Visit The Hang Out!
    By Georgyw5k in forum Free 4 All
    Replies: 5
    Last Post: 28th-November-2003, 05:18
  2. Do You Hang Up On Advertisement Callers?
    By ((KvN)) in forum Free 4 All
    Replies: 52
    Last Post: 21st-July-2003, 11:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About Us

We are the oldest retro gaming forum on the internet. The goal of our community is the complete preservation of all retro video games. Started in 2001 as EmuParadise Forums, our community has grown over the past 18 years into one of the biggest gaming platforms on the internet.

Social