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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libm/] [libm.texinfo] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
\input texinfo.tex
2
@setfilename libm.info
3
@syncodeindex fn cp
4
 
5
@ifinfo
6
@format
7
START-INFO-DIR-ENTRY
8
* libm::                        An ANSI-C conforming mathematical library.
9
END-INFO-DIR-ENTRY
10
@end format
11
@end ifinfo
12
 
13
@ifinfo
14
This file documents an ANSI-C conforming mathematical subroutine library.
15
 
16
Copyright (C) 1992, 1993, 1995, 1996-2008 Red Hat, Inc.
17
 
18
@file{libm} includes software developed at SunPro, a Sun Microsystems,
19
Inc. business.  Permission to use, copy, modify, and distribute this
20
software is freely granted, provided that this notice is preserved.
21
 
22
Permission is granted to make and distribute verbatim copies of
23
this manual provided the copyright notice and this permission notice
24
are preserved on all copies.
25
 
26
@ignore
27
Permission is granted to process this file through Tex and print the
28
results, provided the printed document carries copying permission
29
notice identical to this one except for the removal of this paragraph
30
(this paragraph not being relevant to the printed manual).
31
 
32
@end ignore
33
Permission is granted to copy and distribute modified versions of this
34
manual under the conditions for verbatim copying, subject to the terms
35
of the GNU General Public License, which includes the provision that the
36
entire resulting derived work is distributed under the terms of a
37
permission notice identical to this one.
38
 
39
Permission is granted to copy and distribute translations of this manual
40
into another language, under the above conditions for modified versions.
41
@end ifinfo
42
@iftex
43
@finalout
44
@setchapternewpage odd
45
@settitle The Red Hat newlib C Math Library
46
@titlepage
47
@title The Red Hat newlib C Math Library
48
@sp 1
49
@subtitle @code{libm} 1.17.0
50
@subtitle December 2008
51
@author {Steve Chamberlain}
52
@author {Roland Pesch}
53
@author {Red Hat Support}
54
@author {Jeff Johnston}
55
@page
56
 
57
@tex
58
{\parskip=0pt
59
\hfill Red Hat Support\par
60
\hfill sac@@cygnus.com\par
61
\hfill pesch@@cygnus.com\par
62
\hfill jjohnstn@@redhat.com\par
63
}
64
\global\parindent=0pt % Steve likes it this way
65
@end tex
66
 
67
@vskip 0pt plus 1filll
68
Copyright @copyright{} 1992, 1993, 1994-2004 Red Hat, Inc.
69
 
70
@file{libm} includes software developed at SunPro, a Sun Microsystems,
71
Inc. business.  Permission to use, copy, modify, and distribute this
72
software is freely granted, provided that this notice is preserved.
73
 
74
Permission is granted to make and distribute verbatim copies of
75
this manual provided the copyright notice and this permission notice
76
are preserved on all copies.
77
 
78
Permission is granted to copy and distribute modified versions of this
79
manual under the conditions for verbatim copying, subject to the terms
80
of the GNU General Public License, which includes the provision that the
81
entire resulting derived work is distributed under the terms of a
82
permission notice identical to this one.
83
 
84
Permission is granted to copy and distribute translations of this manual
85
into another language, under the above conditions for modified versions.
86
@end titlepage
87
@end iftex
88
 
89
@ifinfo
90
@node Top
91
@top LIBM
92
@end ifinfo
93
 
94
@menu
95
* Math::           The mathematical functions (`math.h').
96
* Reentrancy::     The functions in libm are not reentrant by default.
97
* Index::
98
@end menu
99
 
100
@include targetdep.tex
101
 
102
@node Reentrancy
103
@chapter Reentrancy Properties of @code{libm}
104
 
105
@cindex reentrancy
106
@cindex @code{matherr} and reentrancy
107
When a libm function detects an exceptional case, @code{errno} may be
108
set, the @code{matherr} function may be called, and a error message
109
may be written to the standard error stream.  This behavior may not
110
be reentrant.
111
 
112
@c The exact behavior depends on the currently selected error handling
113
@c mode (IEEE, POSIX, X/Open, or SVID).
114
 
115
With reentrant C libraries like the Red Hat newlib C library, @code{errno} is
116
a macro which expands to the per-thread error value.  This makes it thread
117
safe.
118
 
119
When the user provides his own @code{matherr} function it must be
120
reentrant for the math library as a whole to be reentrant.
121
 
122
In normal debugged programs, there are usually no math subroutine
123
errors---and therefore no assignments to @code{errno} and no @code{matherr}
124
calls; in that situation, the math functions behave reentrantly.
125
 
126
@node Index
127
@unnumbered Index
128
@printindex cp
129
 
130
@tex
131
% I think something like @colophon should be in texinfo.  In the
132
% meantime:
133
\long\def\colophon{\hbox to0pt{}\vfill
134
\centerline{The body of this manual is set in}
135
\centerline{\fontname\tenrm,}
136
\centerline{with headings in {\bf\fontname\tenbf}}
137
\centerline{and examples in {\tt\fontname\tentt}.}
138
\centerline{{\it\fontname\tenit\/} and}
139
\centerline{{\sl\fontname\tensl\/}}
140
\centerline{are used for emphasis.}\vfill}
141
\page\colophon
142
% Blame: pesch@cygnus.com, 28mar91.
143
@end tex
144
 
145
@contents
146
@bye
147
 
148
 

powered by: WebSVN 2.1.0

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