#### Topic: atan2 function

Hi Ivan,

The atan2 function is useful in many applications involving direction angles.

http://en.wikipedia.org/wiki/Atan2#Definition

Would you please consider adding this function in the future?

Best regards.

benice

You are not logged in. Please login or register.

Graph Forums → Development → atan2 function

Hi Ivan,

The atan2 function is useful in many applications involving direction angles.

http://en.wikipedia.org/wiki/Atan2#Definition

Would you please consider adding this function in the future?

Best regards.

benice

I will consider adding it. However you can already create it yourself as a custom function from one of the definitions at Wikipedia:

```
atan2(y,x) = 2atan(y/(sqrt(x^2+y^2)+x))
atan2(y,x) = ifseq(x>0, atan(y/x), y>=0 and x<0, atan(y/x)+pi, y<0 and x<0, atan(y/x)-pi, y>0 and x=0, pi/2, y<0 and x=0, -pi/2)
```

Hi Ivan,

Thank you very much and best wishes to you.

benice

Graph Forums → Development → atan2 function

Powered by PunBB, supported by Informer Technologies, Inc.

Generated in 0.007 seconds (65% PHP - 35% DB) with 9 queries