Annotation of 43BSD/contrib/icon/man/cat3/trig.3, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: 
                      4: TRIG(3.icon)          Icon Program Library           TRIG(3.icon)
                      5: 
                      6: 
                      7: 
                      8: NNNNAAAAMMMMEEEE
                      9:      sin, cos, tan, asin, acos, atan, atan2, dtor, rtod - tri-
                     10:      gonometric functions
                     11: 
                     12: SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
                     13:      ssssiiiinnnn((((xxxx))))
                     14:      ccccoooossss((((xxxx))))
                     15:      ttttaaaannnn((((xxxx))))
                     16:      aaaassssiiiinnnn((((xxxx))))
                     17:      aaaaccccoooossss((((xxxx))))
                     18:      aaaattttaaaannnn((((xxxx))))
                     19:      aaaattttaaaannnn2222((((xxxx,,,,yyyy))))
                     20:      ddddttttoooorrrr((((xxxx))))
                     21:      rrrrttttoooodddd((((xxxx))))
                     22: 
                     23: DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
                     24:      ssssiiiinnnn, ccccoooossss, and ttttaaaannnn return trigonometric functions of radian
                     25:      arguments. The magnitude of the argument should be checked
                     26:      by the caller to make sure that the result is meaningful.
                     27: 
                     28:      aaaassssiiiinnnn returns the arc sin in the range -/2 to /2.
                     29: 
                     30:      aaaaccccoooossss returns the arc cosine in the range 0 to .
                     31: 
                     32:      aaaattttaaaannnn returns the arc tangent in the range -/2 to /2.
                     33: 
                     34:      aaaattttaaaannnn2222 returns the tangent of xxxx/yyyy in the range - to .
                     35: 
                     36:      ddddttttoooorrrr converts degrees to radians, while rrrrttttoooodddd converts radi-
                     37:      ans to degrees.
                     38: 
                     39:      The C math library (----llllmmmm)  must be loaded with these func-
                     40:      tions.
                     41: 
                     42: DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
                     43:      Run-time error 251 occurs if the magnitude of the argument
                     44:      to aaaassssiiiinnnn or aaaaccccoooossss is greater than 1.
                     45: 
                     46:      Run-time error 252 occurs for the singular points of ttttaaaannnn.
                     47: 
                     48: BBBBUUUUGGGGSSSS
                     49:      The value of ttttaaaannnn for arguments greater than about 231 is
                     50:      garbage.
                     51: 
                     52: SSSSEEEEEEEE AAAALLLLSSSSOOOO
                     53:      sin(3m)
                     54: 
                     55: AAAAUUUUTTTTHHHHOOOORRRRSSSS
                     56:      Ralph E. Griswold and Stephen B. Wampler
                     57: 
                     58: 
                     59: 
                     60: 
                     61: 
                     62: 
                     63: Version 5.9    The University of Arizona - 8/12/84              1
                     64: 
                     65: 
                     66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.