summaryrefslogtreecommitdiff
path: root/manual/math.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-25 06:27:20 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-25 06:27:20 +0000
commit378fbeb49a5aa8883ebdc9c9f1a11a0e7f016c2a (patch)
tree254e9e91357abd45d03c59697857d460ee2eed46 /manual/math.texi
parent0f5504179a2e37a20e409c48dcc8d640393cd16d (diff)
Update.
2000-05-22 Andreas Jaeger <aj@suse.de> * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c, CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c. * manual/math.texi (FP Function Optimizations): Document gcc -ffast-math behaviour with mathinlines. * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline functions unless -ffast-math is given to gcc.
Diffstat (limited to 'manual/math.texi')
-rw-r--r--manual/math.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/manual/math.texi b/manual/math.texi
index 65ec8dd85e..cc29cd6101 100644
--- a/manual/math.texi
+++ b/manual/math.texi
@@ -1770,9 +1770,11 @@ This means that no calls to the library functions may be necessary, and
can increase the speed of generated code significantly. The drawback is
that code size will increase, and the increase is not always negligible.
-The speed increase has one drawback: the inline functions might not set
-@code{errno} and might not have the same precission as the library
-functions.
+There are two kind of inline functions: Those that give the same result
+as the library functions and others that might not set @code{errno} and
+might have a reduced precision and/or argument range in comparison with
+the library functions. The latter inline functions are only available
+if the flag @code{-ffast-math} is given to GNU CC.
In cases where the inline functions and macros are not wanted the symbol
@code{__NO_MATH_INLINES} should be defined before any system header is