-ffast-math and mathinlines.h
Mark Kettenis
kettenis@wins.uva.nl
Tue Apr 18 02:42:00 GMT 2000
From: Andreas Jaeger <aj@oss.sgi.com>
Date: 15 Apr 2000 21:53:34 -0700
--- libc-clean/manual/math.texi Sun Oct 31 09:19:58 1999
+++ glibc-2.2/manual/math.texi Sat Apr 15 20:09:59 2000
@@ -1770,9 +1770,10 @@
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 not have the same precission as the library functions. The latter
+are only available if the flag @code{-ffast-math} is given to GNU CC.
Apart from the obvious misspelling (precission), the bit
[Others that] might not have the same precision as the library
functions.
is a bit vague. This probably raises the question: what gives the
best precision? Is there an easy answer to this?
A cross-reference to the GCC manual would be nice too :-).
Mark
More information about the Libc-hacker
mailing list