Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ math(5) — sysv — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(3)

values(5)



MATH(5-SysV)        RISC/os Reference Manual         MATH(5-SysV)



NAME
     math - math functions and constants

SYNOPSIS
     #include <math.h>

DESCRIPTION
     This file contains declarations of all the functions in the
     Math Library (described in Section 3M), as well as various
     functions in the C Library (Section 3C) that return
     floating-point values.

     It defines the constants used as error-return values:

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

     The following mathematical constants are defined for user
     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.

     M_PI_2              π/2.

     M_PI_4              π/4.

     M_1_PI              1/π.

     M_2_PI              2/π.

     M_2_SQRTPI          2/\/π.

     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 ``con-
     stants,'' see the description of the <values.h> header file.

SEE ALSO
     intro(3), values(5).



                         Printed 1/15/91                   Page 1



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