1. Computing & Technology
Linux / Unix Command: atan
Command Library

NAME

atan - arc tangent function  

SYNOPSIS

#include <math.h>

double atan(double x);
 

DESCRIPTION

The atan() function calculates the arc tangent of x; that is the value whose tangent is x.  

RETURN VALUE

The atan() function returns the arc tangent in radians and the value is mathematically defined to be between -PI/2 and PI/2 (inclusive).  

CONFORMING TO

SVID 3, POSIX, BSD 4.3, ISO 9899  

SEE ALSO

acos(3), asin(3), atan2(3), cos(3), sin(3), tan(3)


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.