Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2019-08-14 13:24:37 +0300
committerCorinna Vinschen <corinna@vinschen.de>2019-08-15 13:04:50 +0300
commit91172ce5913be33ca0ff491dc9fa59d963bec8d2 (patch)
tree5be26f088edae799dc80a478f94a1822d5bf66a0 /newlib/libm/fenv
parente3ca53d9dbec803cd932884ffbbf4f77352603e5 (diff)
fenv: Include documentation in generated .info file
Diffstat (limited to 'newlib/libm/fenv')
-rw-r--r--newlib/libm/fenv/Makefile.am2
-rw-r--r--newlib/libm/fenv/Makefile.in2
-rw-r--r--newlib/libm/fenv/fenv.tex45
3 files changed, 47 insertions, 2 deletions
diff --git a/newlib/libm/fenv/Makefile.am b/newlib/libm/fenv/Makefile.am
index 8d7a70273..ebe03970b 100644
--- a/newlib/libm/fenv/Makefile.am
+++ b/newlib/libm/fenv/Makefile.am
@@ -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.
diff --git a/newlib/libm/fenv/Makefile.in b/newlib/libm/fenv/Makefile.in
index c8760b2a7..b2adb823a 100644
--- a/newlib/libm/fenv/Makefile.in
+++ b/newlib/libm/fenv/Makefile.in
@@ -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:
diff --git a/newlib/libm/fenv/fenv.tex b/newlib/libm/fenv/fenv.tex
new file mode 100644
index 000000000..3b76003d3
--- /dev/null
+++ b/newlib/libm/fenv/fenv.tex
@@ -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