From 0894d35d3a6b130de63ebf5740eaefefec696b8c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 24 Nov 1999 19:03:06 +0000 Subject: Added chapter of list of routines provided by libm. --- doc/posix_users/Makefile | 9 +++++-- doc/posix_users/libc.t | 48 +++++++++++++++++++++++---------- doc/posix_users/libm.t | 58 ++++++++++++++++++++++++++++++++++++++++ doc/posix_users/posix_users.texi | 4 ++- 4 files changed, 102 insertions(+), 17 deletions(-) create mode 100644 doc/posix_users/libm.t diff --git a/doc/posix_users/Makefile b/doc/posix_users/Makefile index 23b31af469..8c862ebd29 100644 --- a/doc/posix_users/Makefile +++ b/doc/posix_users/Makefile @@ -22,7 +22,7 @@ GENERATED_FILES= \ cspecific.texi device.texi files.texi \ io.texi key.texi memorymgmt.texi message.texi mutex.texi procenv.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 \ $(COMMON_FILES) $(GENERATED_FILES) @@ -164,9 +164,14 @@ status.texi: status.t Makefile -u "Top" \ -n "" ${*}.t - libc.texi: libc.t Makefile $(BMENU) -p "" \ -u "Top" \ -n "" ${*}.t + +libm.texi: libm.t Makefile + $(BMENU) -p "" \ + -u "Top" \ + -n "" ${*}.t + diff --git a/doc/posix_users/libc.t b/doc/posix_users/libc.t index 501a0a421c..34ce15b8fc 100644 --- a/doc/posix_users/libc.t +++ b/doc/posix_users/libc.t @@ -6,7 +6,7 @@ @c $Id$ @c -@chapter Services Provided by C Library +@chapter Services Provided by C Library (libc) @section Introduction @@ -305,22 +305,42 @@ This section lists the routines that provided by the Newlib C Library. @item unctrl - Return printable representation of a character @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 -@item open_r - XXX -@item close_r - XXX -@item lseek_r - XXX -@item read_r - XXX -@item write_r - XXX -@item fork_r - XXX -@item wait_r - XXX -@item stat_r - XXX -@item fstat_r - XXX -@item link_r - XXX -@item unlink_r - XXX -@item sbrk_r - XXX +@item open_r - XXX +@item close_r - XXX +@item lseek_r - XXX +@item read_r - XXX +@item write_r - XXX +@item fork_r - XXX +@item wait_r - XXX +@item stat_r - XXX +@item fstat_r - XXX +@item link_r - XXX +@item unlink_r - XXX +@item sbrk_r - XXX @end itemize diff --git a/doc/posix_users/libm.t b/doc/posix_users/libm.t new file mode 100644 index 0000000000..ee8b69b3d2 --- /dev/null +++ b/doc/posix_users/libm.t @@ -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 diff --git a/doc/posix_users/posix_users.texi b/doc/posix_users/posix_users.texi index 8f75455554..e4adc8adcc 100644 --- a/doc/posix_users/posix_users.texi +++ b/doc/posix_users/posix_users.texi @@ -105,6 +105,7 @@ END-INFO-DIR-ENTRY @include key.texi @include cancel.texi @include libc.texi +@include libm.texi @include status.texi @ifinfo @node Top, Preface, (dir), (dir) @@ -133,7 +134,8 @@ This is the online version of the RTEMS POSIX API User's Guide * Thread Manager:: * Key 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:: * Command and Variable Index:: * Concept Index:: -- cgit v1.2.3