intro man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

Intro(3M)							     Intro(3M)

NAME
       Intro, intro - introduction to Sun mathematical library functions

SYNOPSIS
       cc [ flag ... ] file ...	 -lsunmath -lm [ library ... ]

DESCRIPTION
       The  Sun	 math library, libsunmath, provides several useful nonstandard
       mathematical functions and routines that support IEEE 754-1985 floating
       point  arithmetic.   libsunmath is provided as a shared object and as a
       static archive.	Both forms are located in the compiler products	 area,
       typically installed under /opt/SUNWspro.

       The  header  file  <sunmath.h> defines types and constants and provides
       prototypes for the functions in libsunmath.  This header file  is  also
       located in the compiler products area.

       Some  functions	in libsunmath depend on functions in libm, the Solaris
       system math library.  Therefore, C programs that use libsunmath	should
       be linked with the compiler options -lsunmath -lm.

       The  functions  in  libsunmath are documented in section 3M of the com‐
       piler products man pages, typically found in /opt/SUNWspro/man.

       See libm(3LIB) for information about the functions in libm.

SEE ALSO
       Intro(3), fenv.h(3HEAD), math.h(3HEAD), libm(3LIB)

NOTES
       The functions in libsunmath that are specified by IEEE 754-1985	handle
       special	cases  and  exceptions	in  accordance with the standard.  The
       functions in libsunmath that are not specified by IEEE 754-1985	handle
       special	cases  and exceptions in the spirit of the standard, analogous
       to the way these cases are handled by functions in libm when either the
       -xlibmieee  compiler  flag  or  the  -xc99  compiler flag is specified.
       Functions whose values are generally not exactly representable, such as
       the  scaled trigonometric functions or the financial functions, deliver
       results that are accurate to within a few  units	 in  the  last	place.
       They  may not be correctly rounded according to the prevailing rounding
       modes, however, and the inexact exception may not be treated  correctly
       (i.e., raised or not raised, as appropriate).

       libsunmath contains many functions that were not previously in libm but
       have been added to it as of Solaris 10.	Therefore, when a program that
       uses  these functions is linked with the options -lsunmath -lm, it will
       invoke the functions in libsunmath rather than those in libm.   If  the
       same  program  is linked with -lm only, it will invoke the functions in
       libm.  In some cases, the functions in libm may	deliver	 results  that
       differ  slightly	 (by  at  most a few units in the last place) from the
       same functions in libsunmath.

				  14 Mar 2009			     Intro(3M)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net