Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Trigonometric Functions
◄Up► ◄Contents► ◄Index► ◄Back►
─────Trigonometric Functions────────────────────────────────────────────────
All angles in trigonometric intrinsic functions are specified in
radians.
Restrictions on Arguments and Results
Restrictions Range of
Function on Arguments Results
SIN, DSIN, COS, None All real numbers
DCOS, TAN, DTAN
ASIN, DASIN |arg| <= 1 -π/2 <= result <= π/2
ACOS, DACOS |arg| <= 1 0 <= result <= π
ATAN, DATAN None -π/2 <= result <= π/2
ATAN2, DATAN2 Arguments cannot -π <= result <= π
both be zero
COTAN Argument cannot All real numbers
be zero
The range of the results of the intrinsic functions ATAN2 and
DATAN2 is as follows:
Arguments Result
genA > 0 result > 0
genA = 0 and genB > 0 result = 0
genA = 0 and genB < 0 result = π
genA < 0 result < 0
genB = 0 |result| = π/2
-♦-