Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ math(5) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                  math(5)



        _________________________________________________________________
        math                                                   Miscellany
        math functions and constants
        _________________________________________________________________


        SYNTAX

        #include <math.h>


        DESCRIPTION

        This file contains declarations of all the functions in the math
        library (described in section 3M), as well as functions in the C
        library (sections 3 and 3C) that return floating-point values.

        It defines the structure and constants used by the matherr(3M)
        error-handling mechanisms, including the following constant used
        as an error-return value:

        HUGE                The maximum value of a single-precision
                            floating-point number.

        The following mathematical constants are defined for your
        convenience:

        M_E                 The base of natural logarithms (e).

        M_LOG2E             The base-2 logarithm of e.

        M_LOG10E            The base-10 logarithm of e.

        M_LN2               The natural logarithm of 2.

        M_LN10              The natural logarithm of 10.

        M_PI                The ratio of the circumference of a circle to
                            its diameter.  (There are also several
                            fractions of its reciprocal and its square
                            root.)

        M_SQRT2             The positive square root of 2.

        M_SQRT1_2           The positive square root of 1/2.

        For the definitions of various machine-dependent constants, see
        the description of the <values.h> header file.






        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                                  math(5)



        FILES

        /usr/include/math.h


        SEE ALSO

        intro(3), matherr(3M), values(5).














































        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026