02.07.2013 Views

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

math(5) math(5)<br />

NAME<br />

rna th - math functions and constants<br />

SYNOPSIS<br />

*include <br />

DESCRIPTION<br />

This file contains declarations of all the functions in the Math Library<br />

(described in Section 3M), as well as various functions in<br />

the C Library (Section 3C) that return floating-point values.<br />

It defines the structure and constants used by the matherr(3M)<br />

error-handling mechanisms, including the following constant used<br />

as an error-return value.<br />

HUGE The maximum value of a doubleprecision<br />

floating-point number.<br />

The following mathematical constants are defined for user convenience.<br />

M E<br />

The base of natural logarithms (e).<br />

M LOG2E<br />

The base-2logarithm of e.<br />

M LOGIOE<br />

The base-l0 logarithm of e.<br />

M LN2<br />

The natural logarithm of 2.<br />

M LNIO<br />

The natural logarithm of 10.<br />

M PI<br />

The ratio of the circumference of a circle<br />

to its diameter. (There are also several<br />

fractions of its reciprocal and its square<br />

root.)<br />

M_SQRT2<br />

The positive square root of 2.<br />

M_SQRT1_2 The positive square root of 1/2.<br />

For the definitions of various machine-dependent "constants,"<br />

see the description of the header file.<br />

FILES<br />

lusr/include/math.h<br />

SEE ALSO<br />

intro(3), matherr(3M), values(5).<br />

February, 1990<br />

Revision C<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!