fenv: Include documentation in generated .info file

This commit is contained in:
Joel Sherrill 2019-08-14 11:24:37 +01:00 committed by Corinna Vinschen
parent e3ca53d9db
commit 91172ce591
5 changed files with 49 additions and 2 deletions

View File

@ -29,7 +29,7 @@ CHEWOUT_FILES = feclearexcept.def fegetenv.def \
feraiseexcept.def fesetenv.def fesetexceptflag.def fesetround.def \
fetestexcept.def feupdateenv.def
CHAPTERS =
CHAPTERS = fenv.tex
# A partial dependency list.

View File

@ -271,7 +271,7 @@ CHEWOUT_FILES = feclearexcept.def fegetenv.def \
feraiseexcept.def fesetenv.def fesetexceptflag.def fesetround.def \
fetestexcept.def feupdateenv.def
CHAPTERS =
CHAPTERS = fenv.tex
all: all-am
.SUFFIXES:

45
newlib/libm/fenv/fenv.tex Normal file
View File

@ -0,0 +1,45 @@
@node Fenv
@chapter Floating-Point Environment (@file{fenv.h})
This chapter groups the methods used to manipulate the floating-point
status flags. Floating-point operations modify the floating-point
status flags to indicate abnormal result information.
The implementation of these methods is architecture specific.
@menu
* feclearexcept:: Clear floating-point exception
* fegetenv:: Get current floating-point environment
* fegetexceptflag:: Get floating-point status flags
* fegetround:: Get current rounding direction
* feholdexcept:: Save current floating-point environment
* feraiseexcept:: Raise floating-point exception
* fesetenv:: Set current floating-point environment
* fesetexceptflag:: Set floating-point status flags
* fesetround:: Set current rounding direction
* fetestexcept:: Test floating-point exception flags
* feupdateenv:: Update current floating-point environment
@end menu
@page
@include fenv/feclearexcept.def
@page
@include fenv/fegetenv.def
@page
@include fenv/fegetexceptflag.def
@page
@include fenv/fegetround.def
@page
@include fenv/feholdexcept.def
@page
@include fenv/feraiseexcept.def
@page
@include fenv/fesetenv.def
@page
@include fenv/fesetexceptflag.def
@page
@include fenv/fesetround.def
@page
@include fenv/fetestexcept.def
@page
@include fenv/feupdateenv.def

View File

@ -7,6 +7,7 @@
<xi:include href="complex.xml"/>
<xi:include href="math.xml"/>
<xi:include href="fenv.xml"/>
<!-- processing should insert index here -->
<index/>

View File

@ -94,6 +94,7 @@ into another language, under the above conditions for modified versions.
@menu
* Math:: The mathematical functions (`math.h').
* Complex:: The mathematical complex functions (`complex.h').
* Fenv:: The floating point environment functions ('fenv.h').
* Reentrancy:: The functions in libm are not reentrant by default.
* Long Double Functions:: The long double function support of libm.
* Document Index::