4.3BSD/usr/contrib/icon/man/cat3/trig.3

Compare this file to the similar file:
Show the results in this format:




TRIG(3.icon)          Icon Program Library           TRIG(3.icon)



NNNNAAAAMMMMEEEE
     sin, cos, tan, asin, acos, atan, atan2, dtor, rtod - tri-
     gonometric functions

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     ssssiiiinnnn((((xxxx))))
     ccccoooossss((((xxxx))))
     ttttaaaannnn((((xxxx))))
     aaaassssiiiinnnn((((xxxx))))
     aaaaccccoooossss((((xxxx))))
     aaaattttaaaannnn((((xxxx))))
     aaaattttaaaannnn2222((((xxxx,,,,yyyy))))
     ddddttttoooorrrr((((xxxx))))
     rrrrttttoooodddd((((xxxx))))

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     ssssiiiinnnn, ccccoooossss, and ttttaaaannnn return trigonometric functions of radian
     arguments. The magnitude of the argument should be checked
     by the caller to make sure that the result is meaningful.

     aaaassssiiiinnnn returns the arc sin in the range -/2 to /2.

     aaaaccccoooossss returns the arc cosine in the range 0 to .

     aaaattttaaaannnn returns the arc tangent in the range -/2 to /2.

     aaaattttaaaannnn2222 returns the tangent of xxxx/yyyy in the range - to .

     ddddttttoooorrrr converts degrees to radians, while rrrrttttoooodddd converts radi-
     ans to degrees.

     The C math library (----llllmmmm)  must be loaded with these func-
     tions.

DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
     Run-time error 251 occurs if the magnitude of the argument
     to aaaassssiiiinnnn or aaaaccccoooossss is greater than 1.

     Run-time error 252 occurs for the singular points of ttttaaaannnn.

BBBBUUUUGGGGSSSS
     The value of ttttaaaannnn for arguments greater than about 231 is
     garbage.

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     sin(3m)

AAAAUUUUTTTTHHHHOOOORRRRSSSS
     Ralph E. Griswold and Stephen B. Wampler






Version 5.9    The University of Arizona - 8/12/84              1