OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libm/] [libm.texinfo] - Diff between revs 207 and 345

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 207 Rev 345
\input texinfo.tex
\input texinfo.tex
@setfilename libm.info
@setfilename libm.info
@syncodeindex fn cp
@syncodeindex fn cp
 
 
@ifinfo
@ifinfo
@format
@format
START-INFO-DIR-ENTRY
START-INFO-DIR-ENTRY
* libm::                        An ANSI-C conforming mathematical library.
* libm::                        An ANSI-C conforming mathematical library.
END-INFO-DIR-ENTRY
END-INFO-DIR-ENTRY
@end format
@end format
@end ifinfo
@end ifinfo
 
 
@ifinfo
@ifinfo
This file documents an ANSI-C conforming mathematical subroutine library.
This file documents an ANSI-C conforming mathematical subroutine library.
 
 
Copyright (C) 1992, 1993, 1995, 1996-2008 Red Hat, Inc.
Copyright (C) 1992, 1993, 1995, 1996-2008 Red Hat, Inc.
 
 
@file{libm} includes software developed at SunPro, a Sun Microsystems,
@file{libm} includes software developed at SunPro, a Sun Microsystems,
Inc. business.  Permission to use, copy, modify, and distribute this
Inc. business.  Permission to use, copy, modify, and distribute this
software is freely granted, provided that this notice is preserved.
software is freely granted, provided that this notice is preserved.
 
 
Permission is granted to make and distribute verbatim copies of
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
this manual provided the copyright notice and this permission notice
are preserved on all copies.
are preserved on all copies.
 
 
@ignore
@ignore
Permission is granted to process this file through Tex and print the
Permission is granted to process this file through Tex and print the
results, provided the printed document carries copying permission
results, provided the printed document carries copying permission
notice identical to this one except for the removal of this paragraph
notice identical to this one except for the removal of this paragraph
(this paragraph not being relevant to the printed manual).
(this paragraph not being relevant to the printed manual).
 
 
@end ignore
@end ignore
Permission is granted to copy and distribute modified versions of this
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, subject to the terms
manual under the conditions for verbatim copying, subject to the terms
of the GNU General Public License, which includes the provision that the
of the GNU General Public License, which includes the provision that the
entire resulting derived work is distributed under the terms of a
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
permission notice identical to this one.
 
 
Permission is granted to copy and distribute translations of this manual
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions.
into another language, under the above conditions for modified versions.
@end ifinfo
@end ifinfo
@iftex
@iftex
@finalout
@finalout
@setchapternewpage odd
@setchapternewpage odd
@settitle The Red Hat newlib C Math Library
@settitle The Red Hat newlib C Math Library
@titlepage
@titlepage
@title The Red Hat newlib C Math Library
@title The Red Hat newlib C Math Library
@sp 1
@sp 1
@subtitle @code{libm} 1.18.0
@subtitle @code{libm} 1.18.0
@subtitle December 2008
@subtitle December 2008
@author {Steve Chamberlain}
@author {Steve Chamberlain}
@author {Roland Pesch}
@author {Roland Pesch}
@author {Red Hat Support}
@author {Red Hat Support}
@author {Jeff Johnston}
@author {Jeff Johnston}
@page
@page
 
 
@tex
@tex
{\parskip=0pt
{\parskip=0pt
\hfill Red Hat Support\par
\hfill Red Hat Support\par
\hfill sac@@cygnus.com\par
\hfill sac@@cygnus.com\par
\hfill pesch@@cygnus.com\par
\hfill pesch@@cygnus.com\par
\hfill jjohnstn@@redhat.com\par
\hfill jjohnstn@@redhat.com\par
}
}
\global\parindent=0pt % Steve likes it this way
\global\parindent=0pt % Steve likes it this way
@end tex
@end tex
 
 
@vskip 0pt plus 1filll
@vskip 0pt plus 1filll
Copyright @copyright{} 1992, 1993, 1994-2004 Red Hat, Inc.
Copyright @copyright{} 1992, 1993, 1994-2004 Red Hat, Inc.
 
 
@file{libm} includes software developed at SunPro, a Sun Microsystems,
@file{libm} includes software developed at SunPro, a Sun Microsystems,
Inc. business.  Permission to use, copy, modify, and distribute this
Inc. business.  Permission to use, copy, modify, and distribute this
software is freely granted, provided that this notice is preserved.
software is freely granted, provided that this notice is preserved.
 
 
Permission is granted to make and distribute verbatim copies of
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
this manual provided the copyright notice and this permission notice
are preserved on all copies.
are preserved on all copies.
 
 
Permission is granted to copy and distribute modified versions of this
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, subject to the terms
manual under the conditions for verbatim copying, subject to the terms
of the GNU General Public License, which includes the provision that the
of the GNU General Public License, which includes the provision that the
entire resulting derived work is distributed under the terms of a
entire resulting derived work is distributed under the terms of a
permission notice identical to this one.
permission notice identical to this one.
 
 
Permission is granted to copy and distribute translations of this manual
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions.
into another language, under the above conditions for modified versions.
@end titlepage
@end titlepage
@end iftex
@end iftex
 
 
@ifinfo
@ifinfo
@node Top
@node Top
@top LIBM
@top LIBM
@end ifinfo
@end ifinfo
 
 
@menu
@menu
* Math::           The mathematical functions (`math.h').
* Math::           The mathematical functions (`math.h').
* Reentrancy::     The functions in libm are not reentrant by default.
* Reentrancy::     The functions in libm are not reentrant by default.
* Long Double Functions:: The long double function support of libm.
* Long Double Functions:: The long double function support of libm.
* Index::
* Index::
@end menu
@end menu
 
 
@include targetdep.tex
@include targetdep.tex
 
 
@node Reentrancy
@node Reentrancy
@chapter Reentrancy Properties of @code{libm}
@chapter Reentrancy Properties of @code{libm}
 
 
@cindex reentrancy
@cindex reentrancy
@cindex @code{matherr} and reentrancy
@cindex @code{matherr} and reentrancy
When a libm function detects an exceptional case, @code{errno} may be
When a libm function detects an exceptional case, @code{errno} may be
set, the @code{matherr} function may be called, and a error message
set, the @code{matherr} function may be called, and a error message
may be written to the standard error stream.  This behavior may not
may be written to the standard error stream.  This behavior may not
be reentrant.
be reentrant.
 
 
@c The exact behavior depends on the currently selected error handling
@c The exact behavior depends on the currently selected error handling
@c mode (IEEE, POSIX, X/Open, or SVID).
@c mode (IEEE, POSIX, X/Open, or SVID).
 
 
With reentrant C libraries like the Red Hat newlib C library, @code{errno} is
With reentrant C libraries like the Red Hat newlib C library, @code{errno} is
a macro which expands to the per-thread error value.  This makes it thread
a macro which expands to the per-thread error value.  This makes it thread
safe.
safe.
 
 
When the user provides his own @code{matherr} function it must be
When the user provides his own @code{matherr} function it must be
reentrant for the math library as a whole to be reentrant.
reentrant for the math library as a whole to be reentrant.
 
 
In normal debugged programs, there are usually no math subroutine
In normal debugged programs, there are usually no math subroutine
errors---and therefore no assignments to @code{errno} and no @code{matherr}
errors---and therefore no assignments to @code{errno} and no @code{matherr}
calls; in that situation, the math functions behave reentrantly.
calls; in that situation, the math functions behave reentrantly.
 
 
@node Long Double Functions
@node Long Double Functions
@chapter The long double function support of @code{libm}
@chapter The long double function support of @code{libm}
Currently, the full set of long double math functions is only provided
Currently, the full set of long double math functions is only provided
on platforms where long double equals double.
on platforms where long double equals double.
For such platforms, the long double math functions are implemented as calls to the double versions.
For such platforms, the long double math functions are implemented as calls to the double versions.
@node Index
@node Index
@unnumbered Index
@unnumbered Index
@printindex cp
@printindex cp
 
 
@tex
@tex
% I think something like @colophon should be in texinfo.  In the
% I think something like @colophon should be in texinfo.  In the
% meantime:
% meantime:
\long\def\colophon{\hbox to0pt{}\vfill
\long\def\colophon{\hbox to0pt{}\vfill
\centerline{The body of this manual is set in}
\centerline{The body of this manual is set in}
\centerline{\fontname\tenrm,}
\centerline{\fontname\tenrm,}
\centerline{with headings in {\bf\fontname\tenbf}}
\centerline{with headings in {\bf\fontname\tenbf}}
\centerline{and examples in {\tt\fontname\tentt}.}
\centerline{and examples in {\tt\fontname\tentt}.}
\centerline{{\it\fontname\tenit\/} and}
\centerline{{\it\fontname\tenit\/} and}
\centerline{{\sl\fontname\tensl\/}}
\centerline{{\sl\fontname\tensl\/}}
\centerline{are used for emphasis.}\vfill}
\centerline{are used for emphasis.}\vfill}
\page\colophon
\page\colophon
% Blame: pesch@cygnus.com, 28mar91.
% Blame: pesch@cygnus.com, 28mar91.
@end tex
@end tex
 
 
@contents
@contents
@bye
@bye
 
 
 
 
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.