Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
math(5)								       math(5)

NAME
       math - math functions, constants, and types

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

       For IPF,	included in a compilation under	the option, this file  defines
       the types

	      The IPF 80-bit double-extended type.

	      An IEEE 754-compliant, 128-bit floating-point type. On HPUX,
			  is a synonym for

       It defines the types

	      A	floating type, at least	as wide	as
			  For  PA-RISC,	 is For	IPF, if	equals 0, is if	equals
			  1, is	if equals -2, is

	      A	floating type, at least	as wide	as
			  For PA-RISC, is For IPF, if equals 0	or  1,	is  if
			  equals -2, is

       For  IPF, the value of is 0, 1, or -2, according	to the use of the com-
       piler option or

       It defines the following	constants, which, for IPF, may be used to ini-
       tialize statics and aggregates:

	      A	quiet NaN (Not-a-Number) value (type

	      A	positive infinity value	(type

	      The maximum value	(type
			  representable	 in the	type (IEEE positive infinity).

	      The maximum value	(type
			  representable	in the type (IEEE positive  infinity).

	      For IPF only, the	maximum	value (type
			  representable	 in the	type (IEEE positive infinity).

	      For IPF only, the	maximum	value (type
			  representable	in the type (IEEE positive  infinity).
			  To use compile with the option.

	      For IPF only, equivalent to
			  To use compile with the option.

       It defines the following	integer	constants which	give special-case val-
       ues returned by the functions:

	      Returned by if its argument is zero.

	      Returned by if its argument is a NaN.

       For IPF,	it defines the following integer constants which identify  the
       error handling method supported by functions:

	      Indicates	support	for the	ISO/IEC	C99
			  specification.

	      Indicates	support	for the	ISO/IEC	C99
			  exception flag specification.

	      Defined to be
			  if the compiler option (not the default) is used, or
			  defined to be	otherwise.

       It defines the following	mathematical constants (type double) for  user
       convenience:

	      The base of natural logarithms
			  (e).

	      The base-2 logarithm of
			  e.

	      The base-10 logarithm of
			  e.

	      The natural logarithm of 2.

	      The natural logarithm of 10.

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

	      The positive square root of 2.

	      The positive square root of 1/2.

       For the definitions of various  machine-dependent  constants,  see  the
       description of the header file.

       To  use	one  of	 the types or or one of	the macros or compile with the
       option.

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

STANDARDS CONFORMANCE
								       math(5)

NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO | STANDARDS CONFORMANCE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=math&sektion=5&manpath=HP-UX+11.22>

home | help