Annotation of 43BSDReno/old/libm/man/exp.3, revision 1.1

1.1     ! root        1: .\"    @(#)exp.3       6.2 (Berkeley) 6/6/85
        !             2: .\"
        !             3: .TH EXP 3M  "June 6, 1985"
        !             4: .AT 3
        !             5: .SH NAME
        !             6: exp, log, log10, pow, sqrt \- exponential, logarithm, power, square root
        !             7: .SH SYNOPSIS
        !             8: .nf
        !             9: .B #include <math.h>
        !            10: .PP
        !            11: .B double exp(x)
        !            12: .B double x;
        !            13: .PP
        !            14: .B double log(x)
        !            15: .B double x;
        !            16: .PP
        !            17: .B double log10(x)
        !            18: .B double x;
        !            19: .PP
        !            20: .B double pow(x, y)
        !            21: .B double x, y;
        !            22: .PP
        !            23: .B double sqrt(x)
        !            24: .B double x;
        !            25: .fi
        !            26: .SH DESCRIPTION
        !            27: .I Exp
        !            28: returns the exponential function of 
        !            29: .I x.
        !            30: .PP
        !            31: .I Log
        !            32: returns the natural logarithm of 
        !            33: .IR x ;
        !            34: .I log10
        !            35: returns the base 10 logarithm.
        !            36: .PP
        !            37: .I Pow
        !            38: returns
        !            39: .if n \
        !            40: .I x**y.
        !            41: .if t \
        !            42: .I  x\u\s8y\s10\d.
        !            43: .PP
        !            44: .I Sqrt
        !            45: returns the square root of 
        !            46: .I x.
        !            47: .SH SEE ALSO
        !            48: hypot(3M),
        !            49: sinh(3M),
        !            50: intro(3M)
        !            51: .SH DIAGNOSTICS
        !            52: .I Exp
        !            53: and
        !            54: .I pow
        !            55: return a huge value when the correct value would overflow;
        !            56: .I errno
        !            57: is set to ERANGE.
        !            58: .I Pow
        !            59: returns 0 and sets
        !            60: .I errno
        !            61: to EDOM when the first argument is negative and the second is non-integral or
        !            62: when first argument is 0 and the second is less than or equal to 0.
        !            63: .PP
        !            64: .I Log
        !            65: returns 0 when
        !            66: .I x
        !            67: is zero or negative;
        !            68: .I errno
        !            69: is set to EDOM.
        !            70: .PP
        !            71: .I Sqrt
        !            72: returns 0 when 
        !            73: .I x
        !            74: is negative;
        !            75: .I errno
        !            76: is set to EDOM.

unix.superglobalmegacorp.com

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