Annotation of cci/usr/src/man/man3/sin.3m, revision 1.1

1.1     ! root        1: .TH SIN 3M  "11 December 1984"
        !             2: .SH NAME
        !             3: sin, cos, tan, asin, acos, atan, atan2 \- trigonometric functions
        !             4: .SH SYNOPSIS
        !             5: .nf
        !             6: .PP
        !             7: .B fortran float sin(x)
        !             8: .B float x;
        !             9: .PP
        !            10: .B fortran float cos(x)
        !            11: .B float x;
        !            12: .PP
        !            13: .B fortran float atan(x)
        !            14: .B float x;
        !            15: .PP
        !            16: .B #include <math.h>
        !            17: .PP
        !            18: .B double sin(x)
        !            19: .B double x;
        !            20: .PP
        !            21: .B double cos(x)
        !            22: .B double x;
        !            23: .PP
        !            24: .B double asin(x)
        !            25: .B double x;
        !            26: .PP
        !            27: .B double acos(x)
        !            28: .B double x;
        !            29: .PP
        !            30: .B double atan(x)
        !            31: .B double x;
        !            32: .PP
        !            33: .B double atan2(x, y)
        !            34: .B double x, y;
        !            35: .fi
        !            36: .SH DESCRIPTION
        !            37: .I Sin, cos
        !            38: and
        !            39: .I tan
        !            40: return trigonometric functions of radian arguments.
        !            41: The magnitude of the argument should be checked
        !            42: by the caller to make sure the result is meaningful.
        !            43: .PP
        !            44: .I Asin
        !            45: returns the arc sin in the range \-\(*p/2 to \(*p/2.
        !            46: .PP
        !            47: .I Acos
        !            48: returns the arc cosine in the range 0 to \(*p.
        !            49: .PP
        !            50: .I Atan
        !            51: returns the arc tangent of
        !            52: .I x
        !            53: in the range \-\(*p/2 to \(*p/2.
        !            54: .PP
        !            55: .I Atan2
        !            56: returns the arc tangent of
        !            57: .I x/y
        !            58: in the range \-\(*p to \(*p.
        !            59: .PP
        !            60: If the function 
        !            61: .I sin, cos
        !            62: or
        !            63: .I atan
        !            64: is declared to be
        !            65: .I fortran
        !            66: .I float,
        !            67: the single-precision floating point opcode
        !            68: .I sinf, cosf
        !            69: or
        !            70: .I atanf
        !            71: will be generated instead of a call to the respective
        !            72: double-precision function.
        !            73: 
        !            74: .SH DIAGNOSTICS
        !            75: Arguments of magnitude greater than 1 cause
        !            76: .I asin
        !            77: and
        !            78: .I acos
        !            79: to return value 0;
        !            80: .I errno
        !            81: is set to EDOM.  The value of
        !            82: .I tan
        !            83: at its singular points is a huge number, and
        !            84: .I errno
        !            85: is set to ERANGE.
        !            86: .SH BUGS
        !            87: The value of
        !            88: .I tan
        !            89: for arguments greater than about 2**31 is garbage.

unix.superglobalmegacorp.com

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