unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 math(5)							     math(5)




 NAME
      math - math functions and constants

 SYNOPSIS
      #include <&lt&lt&lt;math.h>&gt&gt&gt;

 DESCRIPTION
      This file contains declarations of all the functions in the Math
      Library (described in Section (3M)).

      It also defines the following constants that may be used in
      initializations or returned as error values:

	   HUGE_VAL    The maximum value (type double) of a double-precision
		       floating-point number (IEEE positive INFINITY).

	   NAN	       A quiet NaN (Not-a-Number) value (type float).

	   INFINITY    A positive infinity value (type float).

      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.  (There are also several fractions of pi,
		       its reciprocal, and its square root: M_PI_2, M_PI_4,
		       M_1_PI, M_2_PI, and M_2_SQRTPI).

	   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.

 FILES
      /usr/include/math.h

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





 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000






 math(5)							     math(5)




 STANDARDS CONFORMANCE
      <&lt&lt&lt;math.h>&gt&gt&gt;: SVID3, XPG4.2, ANSI C




















































 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000