Added chapter of list of routines provided by libm.

This commit is contained in:
Joel Sherrill
1999-11-24 19:03:06 +00:00
parent b4957ebb9d
commit 0894d35d3a
4 changed files with 102 additions and 17 deletions

View File

@@ -22,7 +22,7 @@ GENERATED_FILES= \
cspecific.texi device.texi files.texi \ cspecific.texi device.texi files.texi \
io.texi key.texi memorymgmt.texi message.texi mutex.texi procenv.texi \ io.texi key.texi memorymgmt.texi message.texi mutex.texi procenv.texi \
process.texi sched.texi semaphores.texi signal.texi status.texi \ process.texi sched.texi semaphores.texi signal.texi status.texi \
systemdb.texi thread.texi timer.texi libc.texi systemdb.texi thread.texi timer.texi libc.texi libm.texi
FILES= posix_users.texi preface.texi \ FILES= posix_users.texi preface.texi \
$(COMMON_FILES) $(GENERATED_FILES) $(COMMON_FILES) $(GENERATED_FILES)
@@ -164,9 +164,14 @@ status.texi: status.t Makefile
-u "Top" \ -u "Top" \
-n "" ${*}.t -n "" ${*}.t
libc.texi: libc.t Makefile libc.texi: libc.t Makefile
$(BMENU) -p "" \ $(BMENU) -p "" \
-u "Top" \ -u "Top" \
-n "" ${*}.t -n "" ${*}.t
libm.texi: libm.t Makefile
$(BMENU) -p "" \
-u "Top" \
-n "" ${*}.t

View File

@@ -6,7 +6,7 @@
@c $Id$ @c $Id$
@c @c
@chapter Services Provided by C Library @chapter Services Provided by C Library (libc)
@section Introduction @section Introduction
@@ -305,9 +305,29 @@ This section lists the routines that provided by the Newlib C Library.
@item unctrl - Return printable representation of a character @item unctrl - Return printable representation of a character
@end itemize @end itemize
@section Reentrant System Calls @section Variable Argument Lists
@itemize @bullet
@item Stdarg (stdarg.h):
@itemize @bullet
@item va_start - XXX
@item va_arg - XXX
@item va_end - XXX
@end itemize
@item Vararg (varargs.h):
@itemize @bullet
@item va_alist - XXX
@item va_start-trad - XXX
@item va_arg-trad - XXX
@item va_end-trad - XXX
@end itemize
@end itemize
@section Reentrant System Calls
@itemize @bullet @itemize @bullet
@item open_r - XXX @item open_r - XXX
@item close_r - XXX @item close_r - XXX

58
doc/posix_users/libm.t Normal file
View File

@@ -0,0 +1,58 @@
@c
@c COPYRIGHT (c) 1988-1999.
@c On-Line Applications Research Corporation (OAR).
@c All rights reserved.
@c
@c $Id$
@c
@chapter Services Provided by the Math Library (libm)
@section Introduction
This section lists the routines that provided by the Newlib Math Library
(libm).
@section Standard Math Functions (math.h)
@itemize @bullet
@item acos - Arccosine
@item acosh - Inverse hyperbolic cosine
@item asin - Arcsine
@item asinh - Inverse hyperbolic sine
@item atan - Arctangent
@item atan2 - Arctangent of y/x
@item atanh - Inverse hyperbolic tangent
@item jN - Bessel functions (jN and yN)
@item cbrt - Cube root
@item copysign - Sign of Y and magnitude of X
@item cosh - Hyperbolic cosine
@item erf - Error function (erf and erfc)
@item exp - Exponential
@item expm1 - Exponential of x and - 1
@item fabs - Absolute value (magnitude)
@item floor - Floor and ceiling (floor and ceil)
@item fmod - Floating-point remainder (modulo)
@item frexp - Split floating-point number
@item gamma - Logarithmic gamma function
@item hypot - Distance from origin
@item ilogb - Get exponent
@item infinity - Floating infinity
@item isnan - Check type of number
@item ldexp - Load exponent
@item log - Natural logarithms
@item log10 - Base 10 logarithms
@item log1p - Log of 1 + X
@item matherr - Modifiable math error handler
@item modf - Split fractional and integer parts
@item nan - Floating Not a Number
@item nextafter - Get next representable number
@item pow - X to the power Y
@item remainder - remainder of X divided by Y
@item scalbn - scalbn
@item sin - Sine or cosine (sin and cos)
@item sinh - Hyperbolic sine
@item sqrt - Positive square root
@item tan - Tangent
@item tanh - Hyperbolic tangent
@end itemize

View File

@@ -105,6 +105,7 @@ END-INFO-DIR-ENTRY
@include key.texi @include key.texi
@include cancel.texi @include cancel.texi
@include libc.texi @include libc.texi
@include libm.texi
@include status.texi @include status.texi
@ifinfo @ifinfo
@node Top, Preface, (dir), (dir) @node Top, Preface, (dir), (dir)
@@ -133,7 +134,8 @@ This is the online version of the RTEMS POSIX API User's Guide
* Thread Manager:: * Thread Manager::
* Key Manager:: * Key Manager::
* Thread Cancellation Manager:: * Thread Cancellation Manager::
* Services Provided by C Library:: * Services Provided by C Library (libc)::
* Services Provided by the Math Library (libm)::
* Status of Implementation:: * Status of Implementation::
* Command and Variable Index:: * Command and Variable Index::
* Concept Index:: * Concept Index::